mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TW-306
- TW-306 Wrong date format in burndown view (thanks to Michele Santullo).
This commit is contained in:
parent
ac45f263d8
commit
fe0d03664c
2 changed files with 7 additions and 1 deletions
|
@ -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).
|
||||||
|
|
|
@ -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 ()
|
||||||
+ ")";
|
+ ")";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue