- Correct a DST error in date handling.
This commit is contained in:
Paul Beckingham 2014-03-13 21:15:42 -04:00
parent d52eebaa66
commit 065cb2ef01
2 changed files with 25 additions and 19 deletions

View file

@ -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