Patch #5007

Time spent displayed in human readable format (hours minutes)

Added by Vladimir Kovacik almost 8 years ago. Updated about 1 year ago.

Status:ClosedStart date:2010-03-08
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Time tracking
Target version:-

Description

Currently "Spent Time" and "Estimated Time" entries are shown as decimal numbers.
If time entry contains e.g. 1 hour and 15 minutes then 1.25 is displayed on all pages where this time entry is displayed. This is rather not very user friendly because user thinks in "hours and minutes".
This patch modifies how time entries are formatted before they get displayed.

time_entries_displayed_human_readable_v1.0.patch Magnifier (3.2 KB) Vladimir Kovacik, 2010-03-08 13:37


Related issues

Related to Redmine - Feature #1184: time-display Closed 2008-05-06
Related to Redmine - Feature #877: ability to vary the units used to track time New 2008-03-17
Related to Redmine - Feature #6833: Spent time in a configurable unit New 2010-11-04
Related to Redmine - Feature #23996: Introduce a setting to change the display format of times... Closed

History

#1 Updated by Vladimir Kovacik almost 8 years ago

Patch affects the following pages (and perhaps others):
  • Issue/Issues
  • My Page > Spent time
  • Project > Report
  • Roadmap

time_entries_displayed_human_readable_v1.0.patch formats time entry 1.25 as "1h 15m".
Symbols 'h', 'm' are hardcoded in i18n.rb and probably subjects for internationalisation.

#2 Updated by Vladimir Kovacik almost 8 years ago

Forgot to mention that time_entries_displayed_human_readable_v1.0.patch applies to Redmine 0.9.2

#3 Updated by Mischa The Evil over 7 years ago

  • Priority changed from Low to Normal

Issue-relations added from issues #877 and #1184.

#4 Updated by Tobias Eigen about 5 years ago

was this applied to redmine? I am interested in having time displayed in hours and minutes, as well as having the input be in hours and minutes as well. However, I am not seeing time displayed in the way you describe on my redmine site (1.2.2.stable). I see it in decimal format.

#5 Updated by Rick Mason about 5 years ago

+1 for this

#6 Updated by Kevin Lab├ęcot almost 5 years ago

+1 too... Any news?

#7 Updated by Dmitry Beloglazov over 4 years ago

+1
It would be really handy to be able to choose the display format. Decimal time is something very uncommon.

#8 Updated by Nils Wiegand about 3 years ago

Is there any way to use this patch on Redmine 2.6.0.stable.
I want install the patch but the files not available.
Who can help ?

Edit: Or can i configure the spent time to human readable ?

#9 Updated by Go MAEDA over 2 years ago

  • Related to Feature #6833: Spent time in a configurable unit added

#10 Updated by Mischa The Evil about 1 year ago

  • Related to Feature #23996: Introduce a setting to change the display format of timespans to HH:MM added

#11 Updated by Mischa The Evil about 1 year ago

  • Status changed from New to Closed
  • Assignee deleted (Jean-Philippe Lang)

This patch has been superseded by #23996.

Also available in: Atom PDF