diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-05-20 11:45:36 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-05-20 11:45:36 +0000 |
| commit | 7f8e7694a1534b4ed8df33903ba25cff291de953 (patch) | |
| tree | cb31d15075f4c72620f60794b98c9ed233e8082c | |
| parent | d9299cf5a4dfd3a68bb1a637fdc276b54378ee3e (diff) | |
Notes
| -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"); |
