mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Dates
- Easter needs time set to 0:00:00.
This commit is contained in:
parent
23f6840b95
commit
52edc9b7cf
1 changed files with 1 additions and 0 deletions
|
@ -338,6 +338,7 @@ bool namedDates (const std::string& name, Variant& value)
|
|||
t->tm_mday = day;
|
||||
t->tm_mon = month - 1;
|
||||
t->tm_year = Y - 1900;
|
||||
t->tm_hour = t->tm_min = t->tm_sec = 0;
|
||||
|
||||
if (name == "goodfriday") t->tm_mday -= 2;
|
||||
else if (name == "eastermonday") t->tm_mday += 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue