From 20bfd4d251d94a577fb09f9047d914f6d6a5bf39 Mon Sep 17 00:00:00 2001 From: Kousuke Saruta Date: Wed, 15 Apr 2020 04:12:20 +0900 Subject: [PATCH] Made locale "en" for timeline-view. --- .../main/resources/org/apache/spark/ui/static/timeline-view.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js b/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js index a63ee8696f906..5be8cffd1f8db 100644 --- a/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js +++ b/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js @@ -28,6 +28,7 @@ function drawApplicationTimeline(groupArray, eventObjArray, startTime, offset) { showCurrentTime: false, start: startTime, zoomable: false, + locale: "en", moment: function (date) { return vis.moment(date).utcOffset(offset); } @@ -110,6 +111,7 @@ function drawJobTimeline(groupArray, eventObjArray, startTime, offset) { showCurrentTime: false, start: startTime, zoomable: false, + locale: "en", moment: function (date) { return vis.moment(date).utcOffset(offset); } @@ -194,6 +196,7 @@ function drawTaskAssignmentTimeline(groupArray, eventObjArray, minLaunchTime, ma start: minLaunchTime, end: maxFinishTime, zoomable: false, + locale: "en", moment: function (date) { return vis.moment(date).utcOffset(offset); }