summaryrefslogtreecommitdiff
path: root/libc/misc/time
diff options
context:
space:
mode:
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;