Repository: ambari Updated Branches: refs/heads/trunk a4015da1b -> 1f55ea3b0
AMBARI-19560. Timezone for timestamps in Upgrade History not consistent with Background Operations (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1f55ea3b Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1f55ea3b Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1f55ea3b Branch: refs/heads/trunk Commit: 1f55ea3b0f741521f55d737de2e535767fa2f2e0 Parents: a4015da Author: Oleg Nechiporenko <[email protected]> Authored: Mon Jan 16 11:21:29 2017 +0200 Committer: Oleg Nechiporenko <[email protected]> Committed: Mon Jan 16 17:47:31 2017 +0200 ---------------------------------------------------------------------- .../app/views/main/admin/stack_upgrade/upgrade_history_view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/1f55ea3b/ambari-web/app/views/main/admin/stack_upgrade/upgrade_history_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/main/admin/stack_upgrade/upgrade_history_view.js b/ambari-web/app/views/main/admin/stack_upgrade/upgrade_history_view.js index 8df8349..dbdfc55 100644 --- a/ambari-web/app/views/main/admin/stack_upgrade/upgrade_history_view.js +++ b/ambari-web/app/views/main/admin/stack_upgrade/upgrade_history_view.js @@ -133,8 +133,8 @@ App.MainAdminStackUpgradeHistoryView = App.TableView.extend(App.TableServerViewM item.setProperties({ directionLabel: direction, upgradeTypeLabel: method ? method.get('displayName') : method, - startTimeLabel: date.startTime(item.get('startTime')), - endTimeLabel: date.startTime(item.get('endTime')), + startTimeLabel: App.dateTimeWithTimeZone(item.get('startTime')), + endTimeLabel: App.dateTimeWithTimeZone(item.get('endTime')), duration: date.durationSummary(item.get('startTime'), item.get('endTime')) }); processedContent.push(item);
