if (config._useUTC) {
return [now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate()];
}
- return [now.getFullYear(), now.getMonth(), now.getDate()];
+ return [now.getFullYear(), now.getMonth(), now.getDate()];
}
// convert an array to a date.
export function Locale() {
-
}
}
}
-export var add = createAdder( 1, 'add');
+export var add = createAdder(1, 'add');
export var subtract = createAdder(-1, 'subtract');
addParseToken(['H', 'HH'], HOUR);
addParseToken(['a', 'A'], function (input, array, config) {
- config._isPm = config._locale.isPM(input);
- config._meridiem = input;
+ config._isPm = config._locale.isPM(input);
+ config._meridiem = input;
});
addParseToken(['h', 'hh'], function (input, array, config) {
array[HOUR] = toInt(input);
doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
}
});
-
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MMM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});
testMoment = moment(ordinalStr, 'YYYY MM Do', true);
assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i);
}
-});
\ No newline at end of file
+});