Review and integrate Time Conductor Vue style conversion (#2180)

Styling updates for Vue version of Time Conductor
This commit is contained in:
Charles Hacskaylo
2018-10-02 17:31:45 -07:00
committed by Andrew Henry
parent e6e5b6a64a
commit 56b9708ab7
18 changed files with 1108 additions and 389 deletions

View File

@ -29,6 +29,7 @@ define([
var DATE_FORMAT = "YYYY-MM-DD HH:mm:ss.SSS",
DATE_FORMATS = [
DATE_FORMAT,
DATE_FORMAT + "Z",
"YYYY-MM-DD HH:mm:ss",
"YYYY-MM-DD HH:mm",
"YYYY-MM-DD"
@ -74,7 +75,7 @@ define([
};
UTCTimeFormat.prototype.validate = function (text) {
return moment.utc(text, DATE_FORMATS).isValid();
return moment.utc(text, DATE_FORMATS, true).isValid();
};
return UTCTimeFormat;