You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Yee-Wah Lee (JIRA)" <de...@myfaces.apache.org> on 2009/07/22 20:15:14 UTC
[jira] Updated: (TRINIDAD-1512) ConvertDateTime uses static GMT+x
string for timezone display, doesn't update for daylight savings
[ https://issues.apache.org/jira/browse/TRINIDAD-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yee-Wah Lee updated TRINIDAD-1512:
----------------------------------
Status: Patch Available (was: Open)
> ConvertDateTime uses static GMT+x string for timezone display, doesn't update for daylight savings
> --------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-1512
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1512
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 1.2.11-core
> Reporter: Yee-Wah Lee
> Priority: Minor
> Attachments: branch12114_1512.diff, trin12_1512.diff
>
>
> 1. Create a jsp that uses tr:convertDateTime to display timezone, e.g.
> <af:outputText value="#{demoInput.date}">
> <af:convertDateTime type="both" timeStyle="full" timeZone="America/New_York"/>
> </af:outputText>
> where demoInput.date returns the current date, e.g. June 17 09, 1:00 PM
> 2. Run the jsp. For June 17 09 the timezone is actually EDT (GMT - 4). Instead it displays as EST
> 6/17/2009 1:00:00 PM GMT-05:00
> If using the JSF standard DateTimeConverter, the output is:
> Jun 17, 2009 1:00:00 PM EDT
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.