diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-05-17 15:20:15 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-05-17 15:20:15 +0000 |
| commit | 10d865720bdf1938703cd25dd2e7ca0973d919d9 (patch) | |
| tree | 201571b8fee574b86624d626624877858aaa7263 /bin | |
| parent | 58ceb60878f23f0139e1597bfeb2596a5da227af (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/date/date.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/date/date.c b/bin/date/date.c index 99ebfe660cc5..b7b16568b6ea 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -268,6 +268,9 @@ setthetime(fmt, p, jflag, nflag) } } + /* Let mktime() decide whether summer time is in effect. */ + lt->tm_isdst = -1; + /* convert broken-down time to GMT clock time */ if ((tval = mktime(lt)) == -1) errx(1, "nonexistent time"); |
