X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/9674a6207f8a58010d560d60091a626b12ab0e3a..29db9a64a:/sbr/datetime.c?ds=sidebyside diff --git a/sbr/datetime.c b/sbr/datetime.c index 8b21e69b..a5f6c77b 100644 --- a/sbr/datetime.c +++ b/sbr/datetime.c @@ -10,6 +10,7 @@ #include #include "h/tws.h" #include "h/utils.h" +#include "unquote.h" /* * This doesn't try to support all of the myriad date-time formats @@ -170,7 +171,7 @@ load_timezones (const contentline *clines) { if (in_standard) { in_standard = 0; } else if (in_daylight) { in_daylight = 0; } if (parse_datetime (params->dtstart, params->offsetfrom, - in_daylight ? 1 : 0, + in_daylight, &tws) == OK) { if (tws.tw_year >= 1970) { /* dmktime() falls apart for, e.g., the year 1601. */