Klaus Zanders
df4c00bf62
Implement "2h 15" case for ChronicDuration to be parsed to "2h 15m"
2025-08-26 13:55:59 +02:00
as-op
d29d05ef17
Merge branch 'dev' into feature/61896-overview-of-time-logged-per-day-per-user-in-pdf-timesheet
...
# Conflicts:
# lib/chronic_duration.rb
# spec/lib/chronic_duration_spec.rb
2025-04-17 10:24:35 +02:00
as-op
18a6f9ed07
rename :hours_colon_minutes formatter as :hours_and_minutes is used
2025-04-17 10:19:26 +02:00
as-op
479ed6fbc4
use elegant code suggested in https://github.com/opf/openproject/pull/18583#discussion_r2046954108
2025-04-17 10:09:37 +02:00
Klaus Zanders
4ff9d35a2f
do not globally disable rubocop rules
2025-04-14 13:45:24 +02:00
Klaus Zanders
4a98bcaaff
show totals for the time range under the calendar
2025-04-14 13:45:23 +02:00
as-op
c8f4274039
[ #61896 ] Overview of time logged per day per user in PDF timesheet
...
https://community.openproject.org/work_packages/61896
2025-04-08 16:24:27 +02:00
Christophe Bliard
157c57e842
Make raise_exceptions an option in ChronicDuration
...
It avoids having a global state which is always a bit brittle in tests.
2024-08-28 16:05:22 +02:00
Christophe Bliard
5ac1787fd6
[55997] Add duration_format setting with hours_only by default
...
https://community.openproject.org/wp/55997
The `duration_format` setting can take two values: "hours_only" or
"days_and_hours". The default value is "hours_only".
The `duration_format` setting is used to determine how durations are
displayed in the frontend and in some exports.
It can be changed in Administration > Calendar and Dates > Working days
and hours.
2024-07-02 17:06:35 +02:00
Christophe Bliard
914011d560
Fix floating point precision issue
2024-06-10 17:35:48 +02:00
Christophe Bliard
5e2603d03f
Add 'daysAndHours' format to js ChronicDuration
2024-06-10 10:59:13 +02:00
Christophe Bliard
2e36de79a9
Add :days_and_hours format to ChronicDuration
2024-06-07 17:11:55 +02:00
Christophe Bliard
6b9ce751aa
Add chronic_duration in our code to customize it
2024-06-07 10:07:44 +02:00