mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 23:46:42 +02:00
Bug
- Correct a DST error in date handling.
This commit is contained in:
parent
d52eebaa66
commit
065cb2ef01
2 changed files with 25 additions and 19 deletions
|
@ -633,7 +633,7 @@ void ISO8601d::resolve ()
|
|||
else if (! offset)
|
||||
{
|
||||
#ifdef HAVE_TM_GMTOFF
|
||||
offset = local_now->tm_gmtoff;
|
||||
offset = local_now->tm_gmtoff - (local_now->tm_isdst == 1 ? 3600 : 0);
|
||||
#else
|
||||
// TODO Umm...
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue