diff options
Diffstat (limited to 'usr.bin/at/parsetime.c')
-rw-r--r-- | usr.bin/at/parsetime.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c index 4590ad1..58c61c4 100644 --- a/usr.bin/at/parsetime.c +++ b/usr.bin/at/parsetime.c @@ -623,10 +623,8 @@ parsetime(int argc, char **argv) */ runtime.tm_isdst = -1; runtimer = mktime(&runtime); - if (runtime.tm_isdst > 0) { + if (runtime.tm_isdst > 0) runtimer -= 3600; - runtimer = mktime(&runtime); - } if (runtimer < 0) panic("garbled time"); |