mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(dashboard timepicker): fixed issue with time picker and UTC when reading time from url, fixes #5078
This commit is contained in:
@@ -50,7 +50,7 @@ define([
|
|||||||
|
|
||||||
if (!isNaN(value)) {
|
if (!isNaN(value)) {
|
||||||
var epoch = parseInt(value);
|
var epoch = parseInt(value);
|
||||||
return moment(epoch);
|
return moment.utc(epoch);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user