ref: 7a4e46d7abb4d1cd95bbe2143e0b42c76568e505
parent: 67daf453a755bb6fc15a69e49784f1bdd66eaa61
author: aiju <aiju@phicode.de>
date: Fri Jun 3 09:06:28 EDT 2011
fixed mktime bug
--- a/sys/src/ape/lib/ap/gen/mktime.c
+++ b/sys/src/ape/lib/ap/gen/mktime.c
@@ -110,8 +110,8 @@
d = ptm->tm_hour;
ptm = localtime(&a);
d -= ptm->tm_hour;
- if(d < 0)
- d += 24;
+// if(d < 0)
+// d += 24;
if(t->tm_isdst == 0 && ptm->tm_isdst)
d--;
if(t->tm_isdst > 0 && !ptm->tm_isdst)
--
⑨