Bug 127031 - Base report builder time formatting issue
Summary: Base report builder time formatting issue
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.3.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-19 15:01 UTC by martingeraghty17@gmail.com
Modified: 2023-09-07 05:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Try the report - same function, different formatting. [HH]:MM isn't working (8.48 KB, application/vnd.oasis.opendocument.database)
2019-08-19 19:17 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description martingeraghty17@gmail.com 2019-08-19 15:01:25 UTC
Description:
Whilst using the accumulation function (on a field formatted HH:MM), the function returns ### when formatted [HH]:MM. All other time formats appear to work correctly.

Steps to Reproduce:
1.Use a query that returns a set which contains a time field.
2.Ensure the time field is formatted as HH:MM
3.Create an accumulation function and format is as [HH]:MM

Actual Results:
The returned value is ###. If the accumulation function is formatted as HH:MM it will return a value as expected. eg 11:20 for 11 hours and 20 minutes or 01:20 for 25 hours and 20 minutes.

Expected Results:
It should have returned a value of 11:20 for 11 hours and 20 minutes or 25:20 for 25 hours and 20 minutes.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
This only occurs in Base report builder. The [HH]:MM formatting appears to operate correctly in the other applications eg Calc.
Comment 1 Robert Großkopf 2019-08-19 19:15:47 UTC
Could confirm the buggy behaviour. Have tested it with different versions. Oldest version here LO 5.3.7.2 Could be this bug is inherited from OOo.

My system: OpenSUSE 15 64bit rpm Linux.
Comment 2 Robert Großkopf 2019-08-19 19:17:14 UTC
Created attachment 153518 [details]
Try the report - same function, different formatting. [HH]:MM isn't working
Comment 3 QA Administrators 2021-08-20 03:52:09 UTC Comment hidden (obsolete)
Comment 4 Robert Großkopf 2021-08-20 14:45:29 UTC
Bug still the same in LO 7.2.0.3 on OpenSUSE 15.2 64bit rpm Linux.
Filed, which is formatted as [HH]:MM:SS is shown as "#FMT". Accumulated time won't be shown right.
Comment 5 QA Administrators 2023-08-21 03:05:31 UTC Comment hidden (obsolete)
Comment 6 Alex Thurgood 2023-09-07 04:59:47 UTC
Still reproducible with 

Version: 24.2.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: 9a37652b79001bf5208841b9221dee851b9b6d0f
CPU threads: 8; OS: Mac OS X 13.4; UI render: Skia/Metal; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded

The content displayed in the report with [HH]:MM formatting is:

#FMT