diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-20 21:54:01 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-20 21:54:01 +0000 |
commit | a10cb1d4a37161dc39761e342d66837c9f22021d (patch) | |
tree | deadc0fc1c97cdeeaa66ff74000f93e295b313de /libc/misc/time/tm_conv.c | |
parent | 5e29d999fefbbbc6d6c23a3db4ec09e15a3d7113 (diff) |
Fix from Jon Nelson for error in timezone
-Erik
Diffstat (limited to 'libc/misc/time/tm_conv.c')
-rw-r--r-- | libc/misc/time/tm_conv.c | 2 |
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; |