mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
TI-9: Task spanning over whole day should show up as taking 24:00 instead of 23:59
- Thanks to Tomas Babej.
This commit is contained in:
parent
b047800a30
commit
cd59f27b2f
3 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
1.0.0 -
|
||||
|
||||
- TI-9 Task spanning over whole day should show up as taking 24:00 instead
|
||||
of 23:59
|
||||
(thanks to Tomas Babej).
|
||||
- TI-10 The 'total' summands in the month report are not aligned with the
|
||||
column name
|
||||
(thanks to Tomas Babej).
|
||||
|
|
|
@ -220,7 +220,7 @@ int CmdHelp (const CLI& cli)
|
|||
<< '\n'
|
||||
<< " now Current date and time\n"
|
||||
<< " today Current date at 0:00:00\n"
|
||||
<< " sod, eod Current date at 0:00:00 and 23:59:59\n"
|
||||
<< " sod, eod Current date at 0:00:00 and 24:00:00\n"
|
||||
<< " yesterday Yesterday at 0:00:00\n"
|
||||
<< " tomorrow Tomorrow at 0:00:00 (midnight tonight)\n"
|
||||
<< " <day-of-week> Previous named day at 0:00:00\n"
|
||||
|
|
|
@ -683,7 +683,7 @@ Range getFullDay (const Datetime& day)
|
|||
int d;
|
||||
day.toYMD (y, m, d);
|
||||
return Range (Datetime (y, m, d, 0, 0, 0),
|
||||
Datetime (y, m, d, 23, 59, 59));
|
||||
Datetime (y, m, d, 24, 0, 0));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue