Bug 123365

Summary: Calculation of time values of by one with custom formating
Product: LibreOffice Reporter: maximilian.j.walter+libre
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: oliver.brinzing
Priority: medium    
Version: 6.2.0.3 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description maximilian.j.walter+libre 2019-02-11 16:28:46 UTC
Description:
The calculation with time value with a custom formating are off by one minute. It happens mostly for negative value calculations. 

Steps to Reproduce:
1.Format Cells with custom formater [HH]:MM
2. Enter 40:00 in Cell A1
3. Enter 3:29 in Cell B1
4. Enter 45:29 in Cell C1
5. Enter =A1-C1+B1 in D1

Actual Results:
-1:59

Expected Results:
-2:00


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.2.0.3
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 8; OS: Linux 4.20; UI render: default; VCL: gtk3; 
Flatpak
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded
Comment 1 Oliver Brinzing 2019-02-11 17:36:41 UTC
it's a bug and will be fixed in LO 6.2.1

*** This bug has been marked as a duplicate of bug 122991 ***