プロジェクト

全般

プロフィール

Vote #75437

未完了

Time spent in minutes ~ Rounding Error

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
低め
担当者:
-
カテゴリ:
Time tracking_13
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
13
version_id:
0
issue_org_id:
17569
author_id:
107491
assigned_to_id:
0
comments:
2
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
84
ステータス-->[New]

説明

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)

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリTime tracking_13 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0