hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-570) Time strings are formated in different timezone
Date Fri, 27 Jun 2014 13:46:25 GMT

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

Tsuyoshi OZAWA commented on YARN-570:
-------------------------------------

{quote}
The format of JavaScript Date.toLocaleString() varies by the browser. 
{quote}

One alternative to make format same is to change {{renderHadoopDate}} to return same format
as {{yarn.util.Times#format()}} does instead of using {{Date#toLocaleString}}. [~ajisakaa],
[~qwertymaniac], what do you think?

> 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
>
>
> 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.2#6252)

Mime
View raw message