Vote #75437
未完了Time spent in minutes ~ Rounding Error
0%
説明
When I enter the folloing values for time spent:
"10 min", "10 min", "10 min"
The task then displays:
"Time spent: 0.51 hour"
I can almost gurantee that this is because redmine converts the minute-entries into hour-entries, rounding at the second digit, instead of saving them as fractions of 60, which would produce a more accurate result.
journals
This also happens in the following case:
Time spent: 0,375 h
is saved as
Time spent: 0,38 h
--------------------------------------------------------------------------------
Hi,
Using redmine-3.0.0 I added to an issue three log times of "10 min" each. And the time showed on the issue was "0.50 hour".
I checked the database(mysql) records for the time entries and it was 0.166667 for the three time log.
On the second example you gave. The database record was 0.375 but it showed 0.38 h. (it was only rounded for two digits)
--------------------------------------------------------------------------------