Menu

Commit [r1320]  Maximize  Restore  History

Accept the following formats for the timelog "hours" field: 1h, 1 h, 1 hour, 2 hours, 30m, 30min, 1h30, 1h30m, 1:30.

Also accept 1,5 for 1.5 hour (closes #975). Note that 1.5 is still equal to 1h30 and not 1h50 (#947).

jplang 2008-04-02

changed /trunk/app/models/time_entry.rb
added /trunk/test/unit/time_entry_test.rb
/trunk/app/models/time_entry.rb Diff Switch to side-by-side view
Loading...
/trunk/test/unit/time_entry_test.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.