diff options
-rw-r--r-- | keyword.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,6 +27,7 @@ keyword_val get_keyword_value(const keyword *key, char *value, int *error) { if (key->time_fmt != NULL) { struct tm tm = {0}; if (strptime(value, key->time_fmt, &tm) != NULL) { + tm.tm_isdst = -1; val.t = mktime(&tm); } else { *error = 3; |