Anonymous | Login | Signup for a new account | 12-17-2024 11:31 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003737 | [Quercus] | major | always | 11-02-09 13:16 | 11-05-09 12:30 | ||||
Reporter | damien | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product 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. | ||||||||
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/. [^] | ||||||||
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 |
||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed. 27 unique queries executed. |