commit da14b42a1a607d04f18a7c59412e07f0a5b2c153 parent 02d1d8fc4d37b0c7009fee66b560f04170517bfa Author: Claudio Alessi <smoppy@gmail.com> Date: Mon, 16 Apr 2018 22:32:04 +0200 Turn off daylight saving time Diffstat:
M | sw.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sw.c b/sw.c @@ -206,6 +206,7 @@ strtots(char *s) { if(!strcmp(s, "now")) return time(NULL); strptime(s, "%d/%m/%Y %H:%M", &tm); + tm.tm_isdst = 0; return mktime(&tm); }