You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ray Chiang (JIRA)" <ji...@apache.org> on 2014/10/13 21:59:35 UTC

[jira] [Commented] (YARN-570) Time strings are formated in different timezone

    [ https://issues.apache.org/jira/browse/YARN-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169849#comment-14169849 ] 

Ray Chiang commented on YARN-570:
---------------------------------

I've been playing around with this patch some.  I'm fine with it as is, but if there are reservations about it in its current state, is it worth combining this patch with a change in Times.java to end up with a uniform time/date format, e.g.

    EEE MMM dd HH:mm:ss Z YYYY
    Mon Oct 13 12:54:20 -0700 2014

Thoughts?


> Time strings are formated in different timezone
> -----------------------------------------------
>
>                 Key: YARN-570
>                 URL: https://issues.apache.org/jira/browse/YARN-570
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: webapp
>    Affects Versions: 2.2.0
>            Reporter: Peng Zhang
>            Assignee: Akira AJISAKA
>         Attachments: MAPREDUCE-5141.patch, YARN-570.2.patch, YARN-570.3.patch
>
>
> Time strings on different page are displayed in different timezone.
> If it is rendered by renderHadoopDate() in yarn.dt.plugins.js, it appears as "Wed, 10 Apr 2013 08:29:56 GMT"
> If it is formatted by format() in yarn.util.Times, it appears as "10-Apr-2013 16:29:56"
> Same value, but different timezone.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)