瀏覽代碼

Fix from Jon Nelson for error in timezone
-Erik

Eric Andersen 23 年之前
父節點
當前提交
a10cb1d4a3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libc/misc/time/tm_conv.c

+ 1 - 1
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;