@@ -160,7 +160,7 @@ describe('fromString regex', () => {
160160 test ( '1976-11-18T15' , [ 1976 , 11 , 18 , 15 ] ) ;
161161 test ( '1976-11-18' , [ 1976 , 11 , 18 ] ) ;
162162 // Representations with calendar
163- [ '' , 'Z' , ' +01:00[Europe/Vienna]', '+01:00[Custom/Vienna]' , '[Europe/Vienna]' ] . forEach ( ( zoneString ) =>
163+ [ '' , '+01:00[Europe/Vienna]' , '+01:00[Custom/Vienna]' , '[Europe/Vienna]' ] . forEach ( ( zoneString ) =>
164164 test ( `1976-11-18T15:23:30.123456789${ zoneString } [u-ca=iso8601]` , [ 1976 , 11 , 18 , 15 , 23 , 30 , 123 , 456 , 789 ] )
165165 ) ;
166166 } ) ;
@@ -240,7 +240,7 @@ describe('fromString regex', () => {
240240 test ( '1512-11-18' , [ 1512 , 11 , 18 ] ) ;
241241 test ( '15121118' , [ 1512 , 11 , 18 ] ) ;
242242 // Representations with calendar
243- [ '' , 'Z' , ' +01:00[Europe/Vienna]', '[Europe/Vienna]' , '+01:00[Custom/Vienna]' ] . forEach ( ( zoneString ) =>
243+ [ '' , '+01:00[Europe/Vienna]' , '[Europe/Vienna]' , '+01:00[Custom/Vienna]' ] . forEach ( ( zoneString ) =>
244244 test ( `1976-11-18T15:23:30.123456789${ zoneString } [u-ca=iso8601]` , [ 1976 , 11 , 18 ] )
245245 ) ;
246246 test ( '1976-11-18[u-ca=iso8601]' , [ 1976 , 11 , 18 ] ) ;
@@ -304,7 +304,7 @@ describe('fromString regex', () => {
304304 test ( `15${ zoneStr } ` , [ 15 ] )
305305 ) ;
306306 // Representations with calendar
307- [ '' , 'Z' , ' +01:00[Europe/Vienna]', '[Europe/Vienna]' , '+01:00[Custom/Vienna]' ] . forEach ( ( zoneString ) =>
307+ [ '' , '+01:00[Europe/Vienna]' , '[Europe/Vienna]' , '+01:00[Custom/Vienna]' ] . forEach ( ( zoneString ) =>
308308 test ( `1976-11-18T15:23:30.123456789${ zoneString } [u-ca=iso8601]` , [ 15 , 23 , 30 , 123 , 456 , 789 ] )
309309 ) ;
310310 test ( '15:23:30.123456789[u-ca=iso8601]' , [ 15 , 23 , 30 , 123 , 456 , 789 ] ) ;
@@ -357,7 +357,7 @@ describe('fromString regex', () => {
357357 '1976-11-18T15'
358358 ] . forEach ( ( str ) => test ( str , [ 1976 , 11 ] ) ) ;
359359 // Unicode minus sign
360- test ( '\u2212009999-11-18T15:23:30.1234Z ' , [ - 9999 , 11 ] ) ;
360+ test ( '\u2212009999-11-18T15:23:30.1234 ' , [ - 9999 , 11 ] ) ;
361361 // Date-only forms
362362 test ( '1976-11-18' , [ 1976 , 11 ] ) ;
363363 test ( '19761118' , [ 1976 , 11 ] ) ;
@@ -377,7 +377,7 @@ describe('fromString regex', () => {
377377 test ( '1512-11' , [ 1512 , 11 ] ) ;
378378 test ( '151211' , [ 1512 , 11 ] ) ;
379379 // Representations with calendar
380- [ '' , 'Z' , ' +01:00[Europe/Vienna]', '[Europe/Vienna]' , '+01:00[Custom/Vienna]' ] . forEach ( ( zoneString ) =>
380+ [ '' , '+01:00[Europe/Vienna]' , '[Europe/Vienna]' , '+01:00[Custom/Vienna]' ] . forEach ( ( zoneString ) =>
381381 test ( `1976-11-18T15:23:30.123456789${ zoneString } [u-ca=iso8601]` , [ 1976 , 11 ] )
382382 ) ;
383383 test ( '1976-11-01[u-ca=iso8601]' , [ 1976 , 11 ] ) ;
@@ -453,7 +453,7 @@ describe('fromString regex', () => {
453453 test ( '--11-18' , [ 11 , 18 ] ) ;
454454 test ( '--1118' , [ 11 , 18 ] ) ;
455455 // Representations with calendar
456- [ '' , 'Z' , ' +01:00[Europe/Vienna]', '[Europe/Vienna]' , '+01:00[Custom/Vienna]' ] . forEach ( ( zoneString ) =>
456+ [ '' , '+01:00[Europe/Vienna]' , '[Europe/Vienna]' , '+01:00[Custom/Vienna]' ] . forEach ( ( zoneString ) =>
457457 test ( `1976-11-18T15:23:30.123456789${ zoneString } [u-ca=iso8601]` , [ 11 , 18 ] )
458458 ) ;
459459 test ( '1972-11-18[u-ca=iso8601]' , [ 11 , 18 ] ) ;
0 commit comments