fix(test): fixed failing unsaved changes test

This commit is contained in:
Torkel Ödegaard 2016-05-19 07:58:44 +02:00
parent 24a410ae8f
commit 1bb4ca22e7
2 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export function parse(text, roundUp?) {
mathString = text.substring(index + 2);
}
// We're going to just require ISO8601 timestamps, k?
time = moment(parseString);
time = moment(parseString, moment.ISO_8601);
}
if (!mathString.length) {

View File

@ -29,6 +29,7 @@ define([
beforeEach(function() {
dash = _dashboardSrv.create({
refresh: false,
rows: [
{
panels: [{ test: "asd", legend: { } }]