fix to_time_t to honor dst

This commit is contained in:
William Hubbs 2017-05-11 18:13:13 -05:00
parent 6b4050ab9c
commit 1ebef0d7a3

View File

@ -469,6 +469,7 @@ time_t to_time_t(char *timestring)
breakdown.tm_hour = hour;
breakdown.tm_min = min;
breakdown.tm_sec = sec;
breakdown.tm_isdst = -1;
result = mktime(&breakdown);
}
return result;