Flyspray - The bug killer!

  • Status Planned
  • Percent Complete
    50%
  • Task Type TODO
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Low
  • Reported Version 1.0 alpha1
  • Due in Version 1.1 devel
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Wim van Beek - 12.08.2015
Last edited by peterdd - 14.08.2015

FS#2031 - Rendering overdue

One of my task has 8.9166666666667 days left. This is very very very very accurate !

A rounding would look better !

Running Alpha2 now, Cannot use this on 'reported version' here on this site

Edit: Rounding is adhoc fixed on 2015-06-21 in dev in template file, but code should IMHO be centralized, not template, see comments

Project Manager
peterdd commented on 13.08.2015 11:49

On which page type is it shown?

Currently 'due' is only selectabele as a date. With peoples around the world living and working in different time zones we should round to full days until more precise input is possible and stored in the database.

Wim van Beek commented on 13.08.2015 17:17

It appears on do=details&task_id=3&project=1 pages.

It is direct related to the 'default_timezone' in prefs.

It was on '0' When on CET it is ok !

Not sure you need to fix the 0-value into CET (or others), but it works this way.

Project Manager
peterdd commented on 13.08.2015 20:07

Seems to be fixed by floor() on june 21:
https://github.com/Flyspray/flyspray/commit/556b9ea585f115396f4cc6ca7a07014777f6b3f4

  1. Showing the overdue alert on currently closed bugs??? see https://bugs.flyspray.org/?do=details&task_id=3&project=1 I would avoid distracting the user with such.
  2. But the whole calculation there should not be at the template file, so it can be used at other places too.
  3. The hard coded red style for each case should be done as css classes.
  4. And the current absolute height renders the red alert info hiding...
Project Manager
peterdd commented on 14.08.2015 19:21

I keep this open because the 4 points of previous comment should be solved too.
but will adapt the summary.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing