Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5259 | minor | always | 10-24-12 13:17 | 10-24-12 18:30 | |
|
|||||
Reporter: | gbruins | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0005259: strtotime returns null value on DST when given an ISO-8601 timestamp as an argument | ||||
Description: |
For the "Europe/Luxembourg" timezone, DST occurs on March 25 at 2am. If you pass in ISO-8601 timestamp *without a timezone offset* into strtotime(), a null value will be returned if the timestamp is for the DST time (2012-03-25T02:00:00): date_default_timezone_set("Europe/Luxembourg"); echo " 1 am -> without offset: ".strtotime("2012-03-25T01:00:00").", with offset: ".strtotime("2012-03-25T01:00:00.000+01:00"); echo " 2 am -> without offset: ".strtotime("2012-03-25T02:00:00").", with offset: ".strtotime("2012-03-25T02:00:00.000+01:00"); echo " 3 am -> without offset: ".strtotime("2012-03-25T03:00:00").", with offset: ".strtotime("2012-03-25T03:00:00.000+01:00"); EXPECTED RESULT: 1 am -> without offset: 1332633600, with offset: 1332633600 2 am -> without offset: 1332637200, with offset: 1332637200 3 am -> without offset: 1332637200, with offset: 1332640800 ACTUAL RESULT: 1 am -> without offset: 1332633600, with offset: 1332633600 2 am -> without offset: , with offset: 1332637200 3 am -> without offset: 1332637200, with offset: 1332640800 |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|