You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2004/02/24 22:33:53 UTC

DO NOT REPLY [Bug 27201] New: -
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27201>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27201

<fmt:formatDate problem with daylight savings time

           Summary: <fmt:formatDate problem with daylight savings time
           Product: Taglibs
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DateTime Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: riaanoberholzer@yahoo.com


I have an application that runs in The Netherlands, but is operated from 
England. Date/times are thus stored and converted with a dateformatter set 
with the Timezone "Europe/London". It looks fine. Ie, from a JSP with an input 
form, I enter a time as "15:00" (text, UK time) and in the database it 
shows "16:00" (Dutch time, after using dateformatter and timezone) which is 
expected.

Reading and displaying it back also works, EXCEPT when I use JSTL and 
<fmt:formatDate timeZone="Europe/London" ... When daylight savings kick in 
(start of April I think), the times are showed 1 our behind when displaying it 
with JSTL. When formatting it manually with my dateformatter, it is correct 
again. Ie, I enter a time as "15:00", it shows in the DB as "16:00", but JSTL 
shows it as "14:00". Formatting 'manually' shows the correct 15:00 time. Is 
this a bug? Or is there something else I need to do to get this right? Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org