Skip to content

Commit cd80884

Browse files
committed
fix(dashboard timepicker): fixed issue with time picker and UTC when reading time from url, fixes grafana#5078
1 parent 8d2f350 commit cd80884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/app/features/dashboard/timeSrv.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ define([
5050

5151
if (!isNaN(value)) {
5252
var epoch = parseInt(value);
53-
return moment(epoch);
53+
return moment.utc(epoch);
5454
}
5555

5656
return null;

0 commit comments

Comments
 (0)