Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C91E5200B3E for ; Wed, 7 Sep 2016 12:46:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C7960160AC1; Wed, 7 Sep 2016 10:46:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3FB63160AA3 for ; Wed, 7 Sep 2016 12:46:49 +0200 (CEST) Received: (qmail 34969 invoked by uid 500); 7 Sep 2016 10:46:48 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 34955 invoked by uid 99); 7 Sep 2016 10:46:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2016 10:46:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1D383E0243; Wed, 7 Sep 2016 10:46:48 +0000 (UTC) From: ChinaChaos To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark issue #14577: [SPARK-16986][WEB UI] Make 'Started' time, 'Completed' t... Content-Type: text/plain Message-Id: <20160907104648.1D383E0243@git1-us-west.apache.org> Date: Wed, 7 Sep 2016 10:46:48 +0000 (UTC) archived-at: Wed, 07 Sep 2016 10:46:50 -0000 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