fix(dashboard timepicker): fixed issue with time picker and UTC when reading time from url, fixes #5078

This commit is contained in:
Torkel Ödegaard 2016-05-18 12:01:11 +02:00
parent 8d2f350ad1
commit cd80884b76

View File

@ -50,7 +50,7 @@ define([
if (!isNaN(value)) {
var epoch = parseInt(value);
return moment(epoch);
return moment.utc(epoch);
}
return null;