File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 127127 'Mon, 15 Jun 2009 20:45:30 EST' ,
128128 'Mon, 15 Jun 2009 20:45:30 PDT'
129129 ] , 'RFC1123 testing different timezones' ) ;
130- wrapTest (
131- [
132- '1245098730000' ,
133- '14330728000' ,
134- '1245098728000'
135- ] , [
136- '14330728000' ,
137- '1245098728000' ,
138- '1245098730000'
139- ] , 'unix epoch, Date.getTime()' ) ;
130+ wrapTest (
131+ [
132+ '1245098730000' ,
133+ '14330728000' ,
134+ '1245098728000'
135+ ] , [
136+ '14330728000' ,
137+ '1245098728000' ,
138+ '1245098730000'
139+ ] , 'unix epoch, Date.getTime()' ) ;
140+ wrapTest (
141+ [
142+ new Date ( '2001-01-10' ) ,
143+ '2015-01-01' ,
144+ new Date ( '2001-01-01' ) ,
145+ '1998-01-01'
146+ ] , [
147+ '1998-01-01' ,
148+ new Date ( '2001-01-01' ) ,
149+ new Date ( '2001-01-10' ) ,
150+ '2015-01-01'
151+ ] , 'mixed Date types' ) ;
140152 } ) ;
141153 test ( 'version number strings' , function ( ) {
142154 wrapTest (
You can’t perform that action at this time.
0 commit comments