Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001132 [Quercus] minor always 05-19-06 16:40 05-24-06 08:29
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.20
Summary 0001132: mktime() does not use local time zone
Description PHP:

<?php
print mktime(0,0,0,1,1,1970) . "\n";
?>

I'm in the Pacific time zone. Zend PHP prints "28800" (meaning mktime() is adjusting for the local time zone). Quercus prints "-28799". The result is that if you call PHP's date() function on mktime()'s output, the results are always different than the parameters to mktime().
Additional Information 060519 snapshot
Attached Files

- Relationships

- Notes
(0001239)
ferg
05-24-06 08:29

php/190m
 

- Issue History
Date Modified Username Field Change
05-19-06 16:40 koreth New Issue
05-24-06 08:29 ferg Note Added: 0001239
05-24-06 08:29 ferg Assigned To  => ferg
05-24-06 08:29 ferg Status new => closed
05-24-06 08:29 ferg Resolution open => fixed
05-24-06 08:29 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker