| Anonymous | Login | Signup for a new account | 12-14-2025 19:59 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.0.20 | Product Version | 3.0.20 | ||||
| Product Build | |||||||||
| 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(). |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | 060519 snapshot | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |