[jbossseam-issues] [JBoss JIRA] Resolved: (JBSEAM-3317) debug page times are in UTC, should be in server's timezone

Dan Allen (JIRA) jira-events at lists.jboss.org
Wed Oct 15 03:18:20 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Allen resolved JBSEAM-3317.
-------------------------------

    Fix Version/s: 2.1.0.GA
       Resolution: Done
         Assignee: Dan Allen


I used the following:

<f:convertDateTime timeZone="#{timeZone}"/>

> debug page times are in UTC, should be in server's timezone
> -----------------------------------------------------------
>
>                 Key: JBSEAM-3317
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3317
>             Project: Seam
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 2.0.2.SP1, 2.0.3.CR1, 2.1.0.A1
>            Reporter: Samuel Mendenhall
>            Assignee: Dan Allen
>            Priority: Minor
>             Fix For: 2.1.0.GA
>
>
> The debug page uses:
> <h:outputText value="#{entry.startDatetime}">
>           <f:convertDateTime type="time"/>
>         </h:outputText>
>         <h:outputText value="#{entry.lastDatetime}">
>           <f:convertDateTime type="time"/>
>         </h:outputText>
> For the time which the docs says: "the JSF specification says that all dates and times should be assumed to be UTC, and displayed as UTC, unless a timezone is explicitly specified using <f:convertDateTime>"
> So this should be changed to s:convertDateTime or the timeZone added to the f:convertDateTime

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list