[ https://issues.apache.org/jira/browse/YARN-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13629907#comment-13629907 ]
Harsh J commented on YARN-570: ------------------------------ Thanks for the report and the patch! With this patch it now renders it this way: renderHadoopDate() -> "Wed, 10 Apr 2013 08:29:56 GMT+05:30" format() -> "10-Apr-2013 08:29:56" Which I think is still inconsistent. Ideally, I think, we'd want the former everywhere for consistency. Can you update format() as well to print in the same style, if you agree? > 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 > Reporter: PengZhang > Attachments: MAPREDUCE-5141.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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira