Estimated time gets rounded?

Added by Christopher Semmler over 6 years ago

When trying to enter minutes into the Estimated Time field in a ticket, the time gets rounded down or up to full hours after I click the save button. It doesn't matter whether I enter in decimal format (0.25) or in hours format (00:15). I also can't find any settings where to change that, neither can't I remember having changed any configuration in Redmine. Are there any settings related to this?


 Redmine version                2.5.1.stable
  Ruby version                   2.1.2-p95 (2014-05-08) [x86_64-linux]
  Rails version                  3.2.17
  Environment                    production
  Database adapter               PostgreSQL


  line_numbers                   1.0.0
  redmine_agile                  1.3.12
  redmine_all_files              0.0.3
  redmine_bootstrap_kit          0.1
  redmine_didyoumean             1.2.0
  redmine_github_hook            2.2.0
  redmine_gitlab_hook            0.0.1
  redmine_inline_note_images_plugin 0.0.1
  redmine_jstoolbar_ext          0.2.1
  redmine_jstoolbar_ext_coderay  0.2.0
  redmine_jstoolbar_ext_images   0.2.0
  redmine_login_audit            0.1.4
  redmine_mailstatus             0.0.1
  redmine_pipeline_plugin        1.0.0
  redmine_rubycas                0.0.6
  redmine_time_tracker           0.9.15

We have used these plugins for quite long without any issues, I just upgraded them a couple of weeks ago. Unfortunately I cannot tell (if) which plugins might be the cause.

Replies (1)

RE: Estimated time gets rounded? - Added by Olivier Houdas over 6 years ago

There are no settings for the display of Estimated times.
In Redmine, they are stored as real, and rounded with 2 decimals for display.

You can:
1. Check in your DB that time_entries.hours is indeed a real format and has not been changed to an integer
2. Check what happens when removing all plugins, and if fixed, then add your plugins back until you find which one is causing the issue.