summaryrefslogtreecommitdiff
path: root/libc/misc/time
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-20 21:54:01 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-20 21:54:01 +0000
commita10cb1d4a37161dc39761e342d66837c9f22021d (patch)
treedeadc0fc1c97cdeeaa66ff74000f93e295b313de /libc/misc/time
parent5e29d999fefbbbc6d6c23a3db4ec09e15a3d7113 (diff)
Fix from Jon Nelson for error in timezone
-Erik
Diffstat (limited to 'libc/misc/time')
-rw-r--r--libc/misc/time/tm_conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/time/tm_conv.c b/libc/misc/time/tm_conv.c
index 4d10f51b7..480cfa28b 100644
--- a/libc/misc/time/tm_conv.c
+++ b/libc/misc/time/tm_conv.c
@@ -95,7 +95,7 @@ time_t offset;
register int y;
register const unsigned short int *ip;
- timezone = offset;
+ timezone = -offset;
days = *t / SECS_PER_DAY;
rem = *t % SECS_PER_DAY;