From f6d538bb982ae541035585e98b1e75c32dfaf7bb Mon Sep 17 00:00:00 2001 From: Utkarsh Bhatnagar Date: Sat, 30 Apr 2016 07:41:24 -0700 Subject: [PATCH] Bug fix, match tooltip timezone to X-axis timezone (#4855) * Bug fix, match tooltip timezone to X-axis timezone * Small improvement --- public/app/features/dashboard/dashboardSrv.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/dashboard/dashboardSrv.js b/public/app/features/dashboard/dashboardSrv.js index 89c09ac551a..2e1cd1acbf0 100644 --- a/public/app/features/dashboard/dashboardSrv.js +++ b/public/app/features/dashboard/dashboardSrv.js @@ -184,6 +184,7 @@ function (angular, $, _, moment) { p.formatDate = function(date, format) { date = moment.isMoment(date) ? date : moment(date); format = format || 'YYYY-MM-DD HH:mm:ss'; + this.timezone = this.getTimezone(); return this.timezone === 'browser' ? moment(date).format(format) :