From 6435d809dffee675b896c6483a969a2aeacb03fc Mon Sep 17 00:00:00 2001 From: Taylor Hakes Date: Sat, 25 Nov 2017 11:58:05 -0500 Subject: [PATCH] Fix strict test --- test.strict.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.strict.js b/test.strict.js index 8c6645e..f902f5a 100644 --- a/test.strict.js +++ b/test.strict.js @@ -47,7 +47,7 @@ testParse('milliseconds medium', '10:20:30.12', 'HH:mm:ss.SS', new Date(year, 0, testParse('milliseconds short', '10:20:30.1', 'HH:mm:ss.S', new Date(year, 0, 1, 10, 20, 30, 100)); testParse('timezone offset', '09:20:31 GMT-0500 (EST)', 'HH:mm:ss ZZ', new Date(Date.UTC(year, 0, 1, 14, 20, 31))); testParse('UTC timezone offset', '09:20:31 GMT-0000 (UTC)', 'HH:mm:ss ZZ', new Date(Date.UTC(year, 0, 1, 9, 20, 31))); -testParse('UTC timezone offset without explicit offset', '09:20:31Z', 'HH:mm:ssZZ', new Date(Date.UTC(year, 0, 1, 9, 20, 31))); +testParse('UTC timezone offset without explicit offset', '09:20:31Z', 'HH:mm:ssZZ', new Date(year, 0, 1, 9, 20, 31)); testParse('UTC timezone offset without GMT', '09:20:31 -0000 (UTC)', 'HH:mm:ss ZZ', new Date(Date.UTC(year, 0, 1, 9, 20, 31))); testParse('invalid date', 'hello', 'HH:mm:ss ZZ', null); test('i18n month short parse', function() {