commit ba2d40cebc17ad19cf3060781c23043fea5701e6 parent da14b42a1a607d04f18a7c59412e07f0a5b2c153 Author: Claudio Alessi <smoppy@gmail.com> Date: Mon, 16 Apr 2018 22:36:41 +0200 Fix previous commit. Diffstat:
M | sw.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sw.c b/sw.c @@ -205,8 +205,8 @@ strtots(char *s) { if(!strcmp(s, "now")) return time(NULL); + tm.tm_isdst = -1; strptime(s, "%d/%m/%Y %H:%M", &tm); - tm.tm_isdst = 0; return mktime(&tm); }