summaryrefslogtreecommitdiff
path: root/xs_time.h
diff options
context:
space:
mode:
authorGravatar default2022-10-04 18:46:12 +0200
committerGravatar default2022-10-04 18:46:12 +0200
commitae06064e4d77d10b82c6061427dcc01d942b1dd8 (patch)
tree6da9cbb635f377f908e2a442cb122dc6a8f42b8a /xs_time.h
parentFixed bug in the entry children popup. (diff)
downloadsnac2-ae06064e4d77d10b82c6061427dcc01d942b1dd8.tar.gz
snac2-ae06064e4d77d10b82c6061427dcc01d942b1dd8.tar.xz
snac2-ae06064e4d77d10b82c6061427dcc01d942b1dd8.zip
New command-line option purge.
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)
46 memset(&tm, '\0', sizeof(tm)); 46 memset(&tm, '\0', sizeof(tm));
47 strptime(str, fmt, &tm); 47 strptime(str, fmt, &tm);
48 48
49 /* try to guess the Daylight Saving Time */
49 if (local) 50 if (local)
50 tm.tm_isdst = -1; 51 tm.tm_isdst = -1;
51 52