Explorar o código

Fix from Jon Nelson for error in timezone
-Erik

Eric Andersen %!s(int64=25) %!d(string=hai) anos
pai
achega
a10cb1d4a3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;