spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChinaChaos <...@git.apache.org>
Subject [GitHub] spark issue #14577: [SPARK-16986][WEB UI] Make 'Started' time, 'Completed' t...
Date Wed, 07 Sep 2016 10:46:48 GMT
Github user ChinaChaos commented on the issue:

    https://github.com/apache/spark/pull/14577
  
    HI @Sherry302 , @srowen , @rxin 
     this patch will make the UI  not compatible with Firefox and safari;
     Started  time,	Completed time,Last Updated time cant display right´╝îjust like that:
                      NAN-NAN-NAN NAN:NAN:NAN
     
    how to sovle this problem
    
     var localDate = new Date((date.split(".")[0].replace("T", " ")+ " UTC").replace(/-/g,"/"));
          return localDate.getFullYear() + "/" + padLeft(localDate.getMonth() + 1) + "/"
                + padLeft(localDate.getDate()) + " " + padLeft(localDate.getHours()) + ":"
                + padLeft(localDate.getMinutes()) + ":" + padLeft(localDate.getSeconds());
    
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message