Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3737 | major | always | 11-02-09 13:16 | 11-05-09 12:30 | |
|
|||||
Reporter: | damien | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.2 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.2 | ||
|
|||||
Summary: | 0003737: date_timezone_set does not update date correctly | ||||
Description: | I discovered this bug when using Quercus with Drupal 6 and the Date plugin. The behaviour of date_timezone_set does not update the DateTime object correctly and resets the time of the object to the current time. This causes problems validating date submissions on Drupal forms, as the Date plugin changes the timezone to correct for daylight savings hours (and always gets the current date back, rather than the user submitted date). The date_timezone_set returns false, indicating failure, but there is no indication why the failure occurred. | ||||
Steps To Reproduce: | |||||
Additional Information: | I've tested under JDK1.6 on Mac OS X (10.5.8). I've attached an example Maven project with the jetty and resin plugins configure (I usually use the jetty plugin for development, and I wanted to see if there was some dependency on the resin application container). Start with either 'mvn jetty:run' or 'mvn resin:run'. The test output can be accessed at http://localhost:8080/date-test/. [^] | ||||
Relationships | |||||
Attached Files: |
date-test.tar.gz [^] (1,680 bytes) 11-02-09 13:16 date-test.zip [^] (3,389 bytes) 11-03-09 11:55 date-test-fixed.tar.gz [^] (1,688 bytes) 11-03-09 12:01 date-test.tar [^] (11,264 bytes) 11-03-09 12:02 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|