Anonymous | Login | Signup for a new account | 12-17-2024 10:52 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 | ||||
0004034 | [Quercus] | minor | always | 05-11-10 12:12 | 05-11-10 12:24 | ||||
Reporter | nam | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.7 | Product Version | 4.0.7 | ||||
Product Build | |||||||||
Summary | 0004034: date_format() does not use user-set default time zone | ||||||||
Description |
(rep by sblommers) http://forum.caucho.com/showthread.php?t=8947 [^] I would like to report another bug regarding date_timezone. (the others are already fixed). My date time zone is Europe/Amsterdam. On Apache running PHP5: <?php date_default_timezone_set("Europe/Amsterdam"); print date_format(date_create(), 'Y-m-d H:i:s') . "\n"; echo 'Default timezone: ' . date_default_timezone_get() . "\n\n"; ?> results correctly in: 2010-05-10 17:43:20 Default timezone: Europe/Amsterdam but running 4.0.2, 4.0.3, 4.0.6 and latest SNAPSHOT results faulty in: 2010-05-10 19:43:19 Default timezone: Europe/Amsterdam I checked into the code and saw that after Parsing the date using the DateParser (in /lib/date/DateModule) this error comes up and not calculating the offset correctly. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |