- TW-306 Wrong date format in burndown view (thanks to Michele Santullo).
This commit is contained in:
Paul Beckingham 2014-04-13 10:34:17 -04:00
parent ac45f263d8
commit fe0d03664c
2 changed files with 7 additions and 1 deletions

View file

@ -22,6 +22,7 @@
- TW-261 Easy to create "not deletable" task (thanks to Jan Kunder). - TW-261 Easy to create "not deletable" task (thanks to Jan Kunder).
- TW-278 Cygwin throws warnings building mk_wcwidth() in wcwidth6.c. - TW-278 Cygwin throws warnings building mk_wcwidth() in wcwidth6.c.
- TW-285 DUETODAY doesn't give any output (thanks to Jostein Berntsen). - TW-285 DUETODAY doesn't give any output (thanks to Jostein Berntsen).
- TW-306 Wrong date format in burndown view (thanks to Michele Santullo).
- TW-1254 Calc command can segfault on negative numbers (thanks to Renato - TW-1254 Calc command can segfault on negative numbers (thanks to Renato
Alves). Alves).
- TW-1255 New testing framework (thanks to Renato Alves). - TW-1255 New testing framework (thanks to Renato Alves).

View file

@ -936,7 +936,12 @@ void Chart::calculateRates (std::vector <time_t>& sequence)
OldDuration delta (remaining_days * 86400); OldDuration delta (remaining_days * 86400);
now += delta; now += delta;
_completion = now.toString (context.config.get ("dateformat")) // Prefer dateformat.report over dateformat.
std::string format = context.config.get ("dateformat.report");
if (format == "")
format = context.config.get ("dateformat");
_completion = now.toString (format)
+ " (" + " ("
+ delta.format () + delta.format ()
+ ")"; + ")";