Mantis Bugtracker
  

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

- Relationships

- Notes
(0004562)
nam
05-11-10 12:24

php/1948
 

- Issue History
Date Modified Username Field Change
05-11-10 12:12 nam New Issue
05-11-10 12:12 nam Status new => assigned
05-11-10 12:12 nam Assigned To  => nam
05-11-10 12:24 nam Status assigned => closed
05-11-10 12:24 nam Note Added: 0004562
05-11-10 12:24 nam Resolution open => fixed
05-11-10 12:24 nam Fixed in Version  => 4.0.7


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