upgrade to moment 2.6, test changes, bugfix

This commit is contained in:
Adam Shaw
2014-05-25 16:33:10 -07:00
parent 8d1b3b61da
commit 1d23d6ff8a
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -39,6 +39,7 @@ function makeMoment(args, parseUTC, parseZone) {
if (ambigDateOfMonthRegex.test(input)) {
// accept strings like '2014-05', but convert to the first of the month
input += '-01';
args = [ input ]; // for when pass it on to moment's constructor
isAmbigTime = true;
isAmbigZone = true;
}