summaryrefslogtreecommitdiff
path: root/xs_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs_time.h')
-rw-r--r--xs_time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xs_time.h b/xs_time.h
index ce44cdc..979bde4 100644
--- a/xs_time.h
+++ b/xs_time.h
@@ -46,6 +46,7 @@ time_t xs_parse_time(const char *str, const char *fmt, int local)
memset(&tm, '\0', sizeof(tm));
strptime(str, fmt, &tm);
+ /* try to guess the Daylight Saving Time */
if (local)
tm.tm_isdst = -1;