You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Adam Shannon (JIRA)" <ji...@apache.org> on 2014/11/12 16:59:34 UTC
[jira] [Created] (MESOS-2088) relative dates are parsed
incorrectly.
Adam Shannon created MESOS-2088:
-----------------------------------
Summary: relative dates are parsed incorrectly.
Key: MESOS-2088
URL: https://issues.apache.org/jira/browse/MESOS-2088
Project: Mesos
Issue Type: Bug
Components: webui
Affects Versions: 0.20.1
Reporter: Adam Shannon
The relative-date library seems to be parsing dates without regard to the timezone in the iso 8601 timestamp.
I found this file that seems to be responsible for this.
https://github.com/apache/mesos/blob/master/src/webui/master/static/js/relative-date.js
I would recommend using a different library that will handle this properly.
http://momentjs.com/docs/#/parsing/string/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)