From 3f588477a208dd977e73b4317b07e8b7a69102f8 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sat, 11 Apr 2020 21:45:46 +0200 Subject: compute dst for initial date --- wcal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wcal.c b/wcal.c index 1435996..2f5e3bf 100644 --- a/wcal.c +++ b/wcal.c @@ -71,6 +71,7 @@ main(int argc, char *argv[]) case 'd': parse_isodate(optarg, tm); break; } + tm->tm_isdst = -1; /* compute it */ tm->tm_hour = 12; /* avoid DST problems */ tm->tm_min = tm->tm_sec = 0; -- cgit 1.4.1