about summary refs log tree commit diff
path: root/wcal.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcal.c')
-rw-r--r--wcal.c1
1 files changed, 1 insertions, 0 deletions
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;