This commit is contained in:
Ilia Alshanetsky 2002-09-19 18:22:51 +00:00
parent 6f0db0889f
commit 9259c4e598

View File

@ -194,10 +194,12 @@ void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gm)
}
t = mktime(ta);
if (t == -1) {
RETURN_LONG(-1);
}
seconds = t - chgsecs;
if (is_dst == -1) {
struct tm t1, t2;
t1 = *localtime(&t);