OLD | NEW |
1 Test of JavaScript date parsing. | 1 Test of JavaScript date parsing. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS Date.parse("1995-12-25T01:30:00Z") == 819855000000 is true | 6 PASS Date.parse("1995-12-25T01:30:00Z") == 819855000000 is true |
7 PASS Date.parse("1995-12-25T01:30:00.5Z") == 819855000500 is true | 7 PASS Date.parse("1995-12-25T01:30:00.5Z") == 819855000500 is true |
8 PASS Date.parse("1995-12-25T01:30:00.009Z") == 819855000009 is true | 8 PASS Date.parse("1995-12-25T01:30:00.009Z") == 819855000009 is true |
9 PASS Date.parse("1995-12-25T01:30:00+00:00") == 819855000000 is true | 9 PASS Date.parse("1995-12-25T01:30:00+00:00") == 819855000000 is true |
10 PASS Date.parse("1995-12-25T01:30:00.0+00:01") == 819854940000 is true | 10 PASS Date.parse("1995-12-25T01:30:00.0+00:01") == 819854940000 is true |
11 PASS Date.parse("1995-12-25T01:30:00.0-00:01") == 819855060000 is true | 11 PASS Date.parse("1995-12-25T01:30:00.0-00:01") == 819855060000 is true |
12 PASS Date.parse("1995-12-25T01:30:00.0+01:01") == 819851340000 is true | 12 PASS Date.parse("1995-12-25T01:30:00.0+01:01") == 819851340000 is true |
13 PASS Date.parse("1995-12-25T01:30:00.0-01:01") == 819858660000 is true | 13 PASS Date.parse("1995-12-25T01:30:00.0-01:01") == 819858660000 is true |
14 PASS Date.parse("0000-01-01T00:00:00Z") == -62167219200000 is true | 14 PASS Date.parse("0000-01-01T00:00:00Z") == -62167219200000 is true |
15 PASS Date.parse("+99999-12-31T24:00:00Z") == 3093527980800000 is true | 15 FAIL Date.parse("+99999-12-31T24:00:00Z") == 3093527980800000 should be true. Wa
s false. |
16 PASS Date.parse("-99999-01-01T00:00:00Z") == -3217830796800000 is true | 16 FAIL Date.parse("-99999-01-01T00:00:00Z") == -3217830796800000 should be true. W
as false. |
17 PASS Date.parse("1995-12-31T23:59:60Z") == 820454400000 is true | 17 FAIL Date.parse("1995-12-31T23:59:60Z") == 820454400000 should be true. Was fals
e. |
18 PASS Date.parse("1995-12-31T23:59:60.5Z") == 820454400000 is true | 18 FAIL Date.parse("1995-12-31T23:59:60.5Z") == 820454400000 should be true. Was fa
lse. |
19 PASS Date.parse("1995-13-25T01:30:00Z") is NaN | 19 PASS Date.parse("1995-13-25T01:30:00Z") is NaN |
20 PASS Date.parse("1995-00-25T01:30:00Z") is NaN | 20 PASS Date.parse("1995-00-25T01:30:00Z") is NaN |
21 PASS Date.parse("1995--1-25T01:30:00Z") is NaN | 21 PASS Date.parse("1995--1-25T01:30:00Z") is NaN |
22 PASS Date.parse("1995-01-25T01:05:-0.3Z") is NaN | 22 PASS Date.parse("1995-01-25T01:05:-0.3Z") is NaN |
23 PASS Date.parse("1995/12/25T01:30:00Z") is NaN | 23 PASS Date.parse("1995/12/25T01:30:00Z") is NaN |
24 PASS Date.parse("1995-12-25T1:30:00Z") is NaN | 24 PASS Date.parse("1995-12-25T1:30:00Z") is NaN |
25 PASS Date.parse("1995-12-25T01:30:00.Z") is NaN | 25 PASS Date.parse("1995-12-25T01:30:00.Z") is NaN |
26 PASS Date.parse("1995-12-25T01:30:00.+1Z") is NaN | 26 PASS Date.parse("1995-12-25T01:30:00.+1Z") is NaN |
27 PASS Date.parse("1995-12-25T01:30:00Z ") is NaN | 27 PASS Date.parse("1995-12-25T01:30:00Z ") is NaN |
28 PASS Date.parse("1995-12-25T01:30:00+00:00 ") is NaN | 28 PASS Date.parse("1995-12-25T01:30:00+00:00 ") is NaN |
29 PASS Date.parse("1995-02-29T00:00:00Z") is NaN | 29 FAIL Date.parse("1995-02-29T00:00:00Z") should be NaN. Was 794016000000. |
30 PASS Date.parse("1995-12-25 01:30:00Z") is NaN | 30 FAIL Date.parse("1995-12-25 01:30:00Z") should be NaN. Was 819855000000. |
31 PASS Date.parse("1995-12-25T01:30:00z") is NaN | 31 FAIL Date.parse("1995-12-25T01:30:00z") should be NaN. Was 819855000000. |
32 PASS Number(Date.parse('1970')) is 0 | 32 PASS Number(Date.parse('1970')) is 0 |
33 PASS Number(Date.parse('1970-01')) is 0 | 33 PASS Number(Date.parse('1970-01')) is 0 |
34 PASS Number(Date.parse('1970-01-01')) is 0 | 34 PASS Number(Date.parse('1970-01-01')) is 0 |
35 PASS Number(Date.parse('1970T00:00')) is 0 | 35 PASS Number(Date.parse('1970T00:00')) is 0 |
36 PASS Number(Date.parse('1970-01T00:00')) is 0 | 36 PASS Number(Date.parse('1970-01T00:00')) is 0 |
37 PASS Number(Date.parse('1970-01-01T00:00')) is 0 | 37 PASS Number(Date.parse('1970-01-01T00:00')) is 0 |
38 PASS Number(Date.parse('1970T00:00:00')) is 0 | 38 PASS Number(Date.parse('1970T00:00:00')) is 0 |
39 PASS Number(Date.parse('1970-01T00:00:00')) is 0 | 39 PASS Number(Date.parse('1970-01T00:00:00')) is 0 |
40 PASS Number(Date.parse('1970-01-01T00:00:00')) is 0 | 40 PASS Number(Date.parse('1970-01-01T00:00:00')) is 0 |
41 PASS Number(Date.parse('1970T00:00:00.000')) is 0 | 41 PASS Number(Date.parse('1970T00:00:00.000')) is 0 |
(...skipping 14 matching lines...) Expand all Loading... |
56 PASS Number(Date.parse('1970T00:00:00+00:00')) is 0 | 56 PASS Number(Date.parse('1970T00:00:00+00:00')) is 0 |
57 PASS Number(Date.parse('1970-01T00:00:00+00:00')) is 0 | 57 PASS Number(Date.parse('1970-01T00:00:00+00:00')) is 0 |
58 PASS Number(Date.parse('1970-01-01T00:00:00+00:00')) is 0 | 58 PASS Number(Date.parse('1970-01-01T00:00:00+00:00')) is 0 |
59 PASS Number(Date.parse('1970T00:00:00.000+00:00')) is 0 | 59 PASS Number(Date.parse('1970T00:00:00.000+00:00')) is 0 |
60 PASS Number(Date.parse('1970-01T00:00:00.000+00:00')) is 0 | 60 PASS Number(Date.parse('1970-01T00:00:00.000+00:00')) is 0 |
61 PASS Number(Date.parse('1970-01-01T00:00:00.000+00:00')) is 0 | 61 PASS Number(Date.parse('1970-01-01T00:00:00.000+00:00')) is 0 |
62 PASS String(Date.parse('')) is "NaN" | 62 PASS String(Date.parse('')) is "NaN" |
63 PASS String(Date.parse('T00:00:00.000')) is "NaN" | 63 PASS String(Date.parse('T00:00:00.000')) is "NaN" |
64 PASS String(Date.parse('T00:00:00.000Z')) is "NaN" | 64 PASS String(Date.parse('T00:00:00.000Z')) is "NaN" |
65 PASS String(Date.parse('Z')) is "NaN" | 65 PASS String(Date.parse('Z')) is "NaN" |
66 PASS String(Date.parse('1970-01-01Z')) is "NaN" | 66 FAIL String(Date.parse('1970-01-01Z')) should be NaN. Was 0. |
67 PASS String(Date.parse('1970-01-01+00:00')) is "NaN" | 67 PASS String(Date.parse('1970-01-01+00:00')) is "NaN" |
68 PASS String(Date.parse('1970-')) is "NaN" | 68 FAIL String(Date.parse('1970-')) should be NaN. Was 28800000. |
69 PASS String(Date.parse('1970-01-')) is "NaN" | 69 FAIL String(Date.parse('1970-01-')) should be NaN. Was 28800000. |
70 PASS String(Date.parse('1970-01-01T')) is "NaN" | 70 PASS String(Date.parse('1970-01-01T')) is "NaN" |
71 PASS String(Date.parse('1970-01-01T0')) is "NaN" | 71 PASS String(Date.parse('1970-01-01T0')) is "NaN" |
72 PASS String(Date.parse('1970-01-01T00')) is "NaN" | 72 PASS String(Date.parse('1970-01-01T00')) is "NaN" |
73 PASS String(Date.parse('1970-01-01T00:')) is "NaN" | 73 PASS String(Date.parse('1970-01-01T00:')) is "NaN" |
74 PASS String(Date.parse('1970-01-01T00:0')) is "NaN" | 74 PASS String(Date.parse('1970-01-01T00:0')) is "NaN" |
75 PASS String(Date.parse('1970-01-01T0:0')) is "NaN" | 75 PASS String(Date.parse('1970-01-01T0:0')) is "NaN" |
76 PASS String(Date.parse('1970-01-01T00:00:')) is "NaN" | 76 PASS String(Date.parse('1970-01-01T00:00:')) is "NaN" |
77 PASS String(Date.parse('1970-01-01T00:00:00.')) is "NaN" | 77 PASS String(Date.parse('1970-01-01T00:00:00.')) is "NaN" |
78 PASS String(Date.parse('1970-01-01T00:00:00.000-')) is "NaN" | 78 PASS String(Date.parse('1970-01-01T00:00:00.000-')) is "NaN" |
79 PASS String(Date.parse('1970-01-01T00:00:00.000+')) is "NaN" | 79 PASS String(Date.parse('1970-01-01T00:00:00.000+')) is "NaN" |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 PASS Date.parse("dec 25 1995 12:30 pm gmt+00:00") == 819894600000 is true | 219 PASS Date.parse("dec 25 1995 12:30 pm gmt+00:00") == 819894600000 is true |
220 PASS Date.parse("Dec 25 1995 12:30 PM+00") == 819894600000 is true | 220 PASS Date.parse("Dec 25 1995 12:30 PM+00") == 819894600000 is true |
221 PASS Date.parse("DEC 25 1995 12:30 PM+00") == 819894600000 is true | 221 PASS Date.parse("DEC 25 1995 12:30 PM+00") == 819894600000 is true |
222 PASS Date.parse("dec 25 1995 12:30 pm+00") == 819894600000 is true | 222 PASS Date.parse("dec 25 1995 12:30 pm+00") == 819894600000 is true |
223 PASS Date.parse("Dec 25 1995 12:30 PM+0000") == 819894600000 is true | 223 PASS Date.parse("Dec 25 1995 12:30 PM+0000") == 819894600000 is true |
224 PASS Date.parse("DEC 25 1995 12:30 PM+0000") == 819894600000 is true | 224 PASS Date.parse("DEC 25 1995 12:30 PM+0000") == 819894600000 is true |
225 PASS Date.parse("dec 25 1995 12:30 pm+0000") == 819894600000 is true | 225 PASS Date.parse("dec 25 1995 12:30 pm+0000") == 819894600000 is true |
226 PASS Date.parse("Dec 25 1995 12:30 PM+00:00") == 819894600000 is true | 226 PASS Date.parse("Dec 25 1995 12:30 PM+00:00") == 819894600000 is true |
227 PASS Date.parse("DEC 25 1995 12:30 PM+00:00") == 819894600000 is true | 227 PASS Date.parse("DEC 25 1995 12:30 PM+00:00") == 819894600000 is true |
228 PASS Date.parse("dec 25 1995 12:30 pm+00:00") == 819894600000 is true | 228 PASS Date.parse("dec 25 1995 12:30 pm+00:00") == 819894600000 is true |
229 PASS Date.parse("Dec 25 1995 12:30 PM GMT+01") == 819891000000 is true | 229 FAIL Date.parse("Dec 25 1995 12:30 PM GMT+01") == 819891000000 should be true. W
as false. |
230 PASS Date.parse("DEC 25 1995 12:30 PM GMT+01") == 819891000000 is true | 230 FAIL Date.parse("DEC 25 1995 12:30 PM GMT+01") == 819891000000 should be true. W
as false. |
231 PASS Date.parse("dec 25 1995 12:30 pm gmt+01") == 819891000000 is true | 231 FAIL Date.parse("dec 25 1995 12:30 pm gmt+01") == 819891000000 should be true. W
as false. |
232 PASS Date.parse("Dec 25 1995 12:30 PM GMT+0100") == 819891000000 is true | 232 PASS Date.parse("Dec 25 1995 12:30 PM GMT+0100") == 819891000000 is true |
233 PASS Date.parse("DEC 25 1995 12:30 PM GMT+0100") == 819891000000 is true | 233 PASS Date.parse("DEC 25 1995 12:30 PM GMT+0100") == 819891000000 is true |
234 PASS Date.parse("dec 25 1995 12:30 pm gmt+0100") == 819891000000 is true | 234 PASS Date.parse("dec 25 1995 12:30 pm gmt+0100") == 819891000000 is true |
235 PASS Date.parse("Dec 25 1995 12:30 PM GMT+01:00") == 819891000000 is true | 235 PASS Date.parse("Dec 25 1995 12:30 PM GMT+01:00") == 819891000000 is true |
236 PASS Date.parse("DEC 25 1995 12:30 PM GMT+01:00") == 819891000000 is true | 236 PASS Date.parse("DEC 25 1995 12:30 PM GMT+01:00") == 819891000000 is true |
237 PASS Date.parse("dec 25 1995 12:30 pm gmt+01:00") == 819891000000 is true | 237 PASS Date.parse("dec 25 1995 12:30 pm gmt+01:00") == 819891000000 is true |
238 PASS Date.parse("Dec 25 1995 12:30 PM+01") == 819891000000 is true | 238 FAIL Date.parse("Dec 25 1995 12:30 PM+01") == 819891000000 should be true. Was f
alse. |
239 PASS Date.parse("DEC 25 1995 12:30 PM+01") == 819891000000 is true | 239 FAIL Date.parse("DEC 25 1995 12:30 PM+01") == 819891000000 should be true. Was f
alse. |
240 PASS Date.parse("dec 25 1995 12:30 pm+01") == 819891000000 is true | 240 FAIL Date.parse("dec 25 1995 12:30 pm+01") == 819891000000 should be true. Was f
alse. |
241 PASS Date.parse("Dec 25 1995 12:30 PM+0100") == 819891000000 is true | 241 PASS Date.parse("Dec 25 1995 12:30 PM+0100") == 819891000000 is true |
242 PASS Date.parse("DEC 25 1995 12:30 PM+0100") == 819891000000 is true | 242 PASS Date.parse("DEC 25 1995 12:30 PM+0100") == 819891000000 is true |
243 PASS Date.parse("dec 25 1995 12:30 pm+0100") == 819891000000 is true | 243 PASS Date.parse("dec 25 1995 12:30 pm+0100") == 819891000000 is true |
244 PASS Date.parse("Dec 25 1995 12:30 PM+01:00") == 819891000000 is true | 244 PASS Date.parse("Dec 25 1995 12:30 PM+01:00") == 819891000000 is true |
245 PASS Date.parse("DEC 25 1995 12:30 PM+01:00") == 819891000000 is true | 245 PASS Date.parse("DEC 25 1995 12:30 PM+01:00") == 819891000000 is true |
246 PASS Date.parse("dec 25 1995 12:30 pm+01:00") == 819891000000 is true | 246 PASS Date.parse("dec 25 1995 12:30 pm+01:00") == 819891000000 is true |
247 PASS Date.parse("Anf 25 1995 GMT") is NaN | 247 PASS Date.parse("Anf 25 1995 GMT") is NaN |
248 PASS Date.parse("ANF 25 1995 GMT") is NaN | 248 PASS Date.parse("ANF 25 1995 GMT") is NaN |
249 PASS Date.parse("anf 25 1995 gmt") is NaN | 249 PASS Date.parse("anf 25 1995 gmt") is NaN |
250 PASS Date.parse("Wed Dec 25 1995 1:30 GMT") == 819855000000 is true | 250 PASS Date.parse("Wed Dec 25 1995 1:30 GMT") == 819855000000 is true |
251 PASS Date.parse("WED DEC 25 1995 1:30 GMT") == 819855000000 is true | 251 PASS Date.parse("WED DEC 25 1995 1:30 GMT") == 819855000000 is true |
252 PASS Date.parse("wed dec 25 1995 1:30 gmt") == 819855000000 is true | 252 PASS Date.parse("wed dec 25 1995 1:30 gmt") == 819855000000 is true |
253 PASS Date.parse("Wed Dec 25 1:30 1995 GMT") == 819855000000 is true | 253 PASS Date.parse("Wed Dec 25 1:30 1995 GMT") == 819855000000 is true |
254 PASS Date.parse("WED DEC 25 1:30 1995 GMT") == 819855000000 is true | 254 PASS Date.parse("WED DEC 25 1:30 1995 GMT") == 819855000000 is true |
255 PASS Date.parse("wed dec 25 1:30 1995 gmt") == 819855000000 is true | 255 PASS Date.parse("wed dec 25 1:30 1995 gmt") == 819855000000 is true |
256 PASS Date.parse("Wed Dec 25 1:30 1995GMT") == 819855000000 is true | 256 PASS Date.parse("Wed Dec 25 1:30 1995GMT") == 819855000000 is true |
257 PASS Date.parse("Wed Dec 25 1:30 1995 2010 GMT") is NaN | 257 FAIL Date.parse("Wed Dec 25 1:30 1995 2010 GMT") should be NaN. Was 819855000000
. |
258 PASS Date.parse("Wed Dec 25 1:30 1995r GMT") is NaN | 258 PASS Date.parse("Wed Dec 25 1:30 1995r GMT") is NaN |
259 PASS Date.parse("Wed 1:30 Dec 25 GMT") is NaN | 259 FAIL Date.parse("Wed 1:30 Dec 25 GMT") should be NaN. Was 1009243800000. |
260 PASS Date.parse("Wed Dec 25 1995 01:30 +0000") == 819855000000 is true | 260 PASS Date.parse("Wed Dec 25 1995 01:30 +0000") == 819855000000 is true |
261 PASS Date.parse("WED DEC 25 1995 01:30 +0000") == 819855000000 is true | 261 PASS Date.parse("WED DEC 25 1995 01:30 +0000") == 819855000000 is true |
262 PASS Date.parse("wed dec 25 1995 01:30 +0000") == 819855000000 is true | 262 PASS Date.parse("wed dec 25 1995 01:30 +0000") == 819855000000 is true |
263 PASS Date.parse("Dec 25 1995 1:30 AM -0000") == 819855000000 is true | 263 PASS Date.parse("Dec 25 1995 1:30 AM -0000") == 819855000000 is true |
264 PASS Date.parse("DEC 25 1995 1:30 AM -0000") == 819855000000 is true | 264 PASS Date.parse("DEC 25 1995 1:30 AM -0000") == 819855000000 is true |
265 PASS Date.parse("dec 25 1995 1:30 am -0000") == 819855000000 is true | 265 PASS Date.parse("dec 25 1995 1:30 am -0000") == 819855000000 is true |
266 PASS Date.parse("Wed Dec 25 1995 13:30 -0800") == 819927000000 is true | 266 PASS Date.parse("Wed Dec 25 1995 13:30 -0800") == 819927000000 is true |
267 PASS Date.parse("WED DEC 25 1995 13:30 -0800") == 819927000000 is true | 267 PASS Date.parse("WED DEC 25 1995 13:30 -0800") == 819927000000 is true |
268 PASS Date.parse("wed dec 25 1995 13:30 -0800") == 819927000000 is true | 268 PASS Date.parse("wed dec 25 1995 13:30 -0800") == 819927000000 is true |
269 PASS Date.parse("Dec 25 1995 01:30 +1700") == 819793800000 is true | 269 PASS Date.parse("Dec 25 1995 01:30 +1700") == 819793800000 is true |
270 PASS Date.parse("DEC 25 1995 01:30 +1700") == 819793800000 is true | 270 PASS Date.parse("DEC 25 1995 01:30 +1700") == 819793800000 is true |
271 PASS Date.parse("dec 25 1995 01:30 +1700") == 819793800000 is true | 271 PASS Date.parse("dec 25 1995 01:30 +1700") == 819793800000 is true |
272 PASS Date.parse("Wed Dec 25 1:30 PM -0800 1995") == 819927000000 is true | 272 PASS Date.parse("Wed Dec 25 1:30 PM -0800 1995") == 819927000000 is true |
273 PASS Date.parse("WED DEC 25 1:30 PM -0800 1995") == 819927000000 is true | 273 PASS Date.parse("WED DEC 25 1:30 PM -0800 1995") == 819927000000 is true |
274 PASS Date.parse("wed dec 25 1:30 pm -0800 1995") == 819927000000 is true | 274 PASS Date.parse("wed dec 25 1:30 pm -0800 1995") == 819927000000 is true |
275 PASS Date.parse("Wed Dec 25 1995 01:30 &1700") is NaN | 275 FAIL Date.parse("Wed Dec 25 1995 01:30 &1700") should be NaN. Was 819883800000. |
276 PASS Date.parse("Wed Dec 25 1995 &1700 01:30") is NaN | 276 FAIL Date.parse("Wed Dec 25 1995 &1700 01:30") should be NaN. Was 819883800000. |
277 PASS Date.parse("Dec 25" + String.fromCharCode(9) + "1995 13:30 GMT") == 8198982
00000 is true | 277 PASS Date.parse("Dec 25" + String.fromCharCode(9) + "1995 13:30 GMT") == 8198982
00000 is true |
278 PASS Date.parse(("Dec 25" + String.fromCharCode(9) + "1995 13:30 GMT").toUpperCa
se()) == 819898200000 is true | 278 PASS Date.parse(("Dec 25" + String.fromCharCode(9) + "1995 13:30 GMT").toUpperCa
se()) == 819898200000 is true |
279 PASS Date.parse(("Dec 25" + String.fromCharCode(9) + "1995 13:30 GMT").toLowerCa
se()) == 819898200000 is true | 279 PASS Date.parse(("Dec 25" + String.fromCharCode(9) + "1995 13:30 GMT").toLowerCa
se()) == 819898200000 is true |
280 PASS Date.parse("Dec 25" + String.fromCharCode(10) + "1995 13:30 GMT") == 819898
200000 is true | 280 PASS Date.parse("Dec 25" + String.fromCharCode(10) + "1995 13:30 GMT") == 819898
200000 is true |
281 PASS Date.parse(("Dec 25" + String.fromCharCode(10) + "1995 13:30 GMT").toUpperC
ase()) == 819898200000 is true | 281 PASS Date.parse(("Dec 25" + String.fromCharCode(10) + "1995 13:30 GMT").toUpperC
ase()) == 819898200000 is true |
282 PASS Date.parse(("Dec 25" + String.fromCharCode(10) + "1995 13:30 GMT").toLowerC
ase()) == 819898200000 is true | 282 PASS Date.parse(("Dec 25" + String.fromCharCode(10) + "1995 13:30 GMT").toLowerC
ase()) == 819898200000 is true |
283 PASS Date.parse("Dec 25, 1995 13:30") == 819898200000 + timeZoneOffset is true | 283 PASS Date.parse("Dec 25, 1995 13:30") == 819898200000 + timeZoneOffset is true |
284 PASS Date.parse("DEC 25, 1995 13:30") == 819898200000 + timeZoneOffset is true | 284 PASS Date.parse("DEC 25, 1995 13:30") == 819898200000 + timeZoneOffset is true |
285 PASS Date.parse("dec 25, 1995 13:30") == 819898200000 + timeZoneOffset is true | 285 PASS Date.parse("dec 25, 1995 13:30") == 819898200000 + timeZoneOffset is true |
286 PASS Date.parse("Dec 25,1995 13:30") == 819898200000 + timeZoneOffset is true | 286 PASS Date.parse("Dec 25,1995 13:30") == 819898200000 + timeZoneOffset is true |
287 PASS Date.parse("DEC 25,1995 13:30") == 819898200000 + timeZoneOffset is true | 287 PASS Date.parse("DEC 25,1995 13:30") == 819898200000 + timeZoneOffset is true |
288 PASS Date.parse("dec 25,1995 13:30") == 819898200000 + timeZoneOffset is true | 288 PASS Date.parse("dec 25,1995 13:30") == 819898200000 + timeZoneOffset is true |
289 PASS Date.parse("Dec 25 1995, 13:30") == 819898200000 + timeZoneOffset is true | 289 PASS Date.parse("Dec 25 1995, 13:30") == 819898200000 + timeZoneOffset is true |
290 PASS Date.parse("DEC 25 1995, 13:30") == 819898200000 + timeZoneOffset is true | 290 PASS Date.parse("DEC 25 1995, 13:30") == 819898200000 + timeZoneOffset is true |
291 PASS Date.parse("dec 25 1995, 13:30") == 819898200000 + timeZoneOffset is true | 291 PASS Date.parse("dec 25 1995, 13:30") == 819898200000 + timeZoneOffset is true |
292 PASS Date.parse("Dec 25 1995,13:30") == 819898200000 + timeZoneOffset is true | 292 PASS Date.parse("Dec 25 1995,13:30") == 819898200000 + timeZoneOffset is true |
293 PASS Date.parse("DEC 25 1995,13:30") == 819898200000 + timeZoneOffset is true | 293 PASS Date.parse("DEC 25 1995,13:30") == 819898200000 + timeZoneOffset is true |
294 PASS Date.parse("dec 25 1995,13:30") == 819898200000 + timeZoneOffset is true | 294 PASS Date.parse("dec 25 1995,13:30") == 819898200000 + timeZoneOffset is true |
295 PASS Date.parse("Dec 25, 1995, 13:30") == 819898200000 + timeZoneOffset is true | 295 PASS Date.parse("Dec 25, 1995, 13:30") == 819898200000 + timeZoneOffset is true |
296 PASS Date.parse("DEC 25, 1995, 13:30") == 819898200000 + timeZoneOffset is true | 296 PASS Date.parse("DEC 25, 1995, 13:30") == 819898200000 + timeZoneOffset is true |
297 PASS Date.parse("dec 25, 1995, 13:30") == 819898200000 + timeZoneOffset is true | 297 PASS Date.parse("dec 25, 1995, 13:30") == 819898200000 + timeZoneOffset is true |
298 PASS Date.parse("Dec 25,1995,13:30") == 819898200000 + timeZoneOffset is true | 298 PASS Date.parse("Dec 25,1995,13:30") == 819898200000 + timeZoneOffset is true |
299 PASS Date.parse("DEC 25,1995,13:30") == 819898200000 + timeZoneOffset is true | 299 PASS Date.parse("DEC 25,1995,13:30") == 819898200000 + timeZoneOffset is true |
300 PASS Date.parse("dec 25,1995,13:30") == 819898200000 + timeZoneOffset is true | 300 PASS Date.parse("dec 25,1995,13:30") == 819898200000 + timeZoneOffset is true |
301 PASS Date.parse("Mon Jun 20 11:00:00 CDT 2011") == 1308585600000 is true | 301 PASS Date.parse("Mon Jun 20 11:00:00 CDT 2011") == 1308585600000 is true |
302 PASS Date.parse("MON JUN 20 11:00:00 CDT 2011") == 1308585600000 is true | 302 PASS Date.parse("MON JUN 20 11:00:00 CDT 2011") == 1308585600000 is true |
303 PASS Date.parse("mon jun 20 11:00:00 cdt 2011") == 1308585600000 is true | 303 PASS Date.parse("mon jun 20 11:00:00 cdt 2011") == 1308585600000 is true |
304 PASS Date.parse("4/13/2008 12:00 AM GMT-4") == 1208059200000 is true | 304 FAIL Date.parse("4/13/2008 12:00 AM GMT-4") == 1208059200000 should be true. Was
false. |
305 PASS Date.parse("4/13/2008 12:00 AM GMT-23") == 1208127600000 is true | 305 FAIL Date.parse("4/13/2008 12:00 AM GMT-23") == 1208127600000 should be true. Wa
s false. |
306 PASS Date.parse("4/13/2008 12:00 AM GMT+23") == 1207962000000 is true | 306 FAIL Date.parse("4/13/2008 12:00 AM GMT+23") == 1207962000000 should be true. Wa
s false. |
307 PASS Date.parse("4/13/2008 12:00 AM GMT-0023") == 1208127600000 is true | 307 FAIL Date.parse("4/13/2008 12:00 AM GMT-0023") == 1208127600000 should be true.
Was false. |
308 PASS Date.parse("4/13/2008 12:00 AM GMT-24") == 1208046240000 is true | 308 PASS Date.parse("4/13/2008 12:00 AM GMT-24") == 1208046240000 is true |
309 PASS Date.parse("4/13/2008 12:00 AM GMT+24") == 1208043360000 is true | 309 PASS Date.parse("4/13/2008 12:00 AM GMT+24") == 1208043360000 is true |
310 PASS Date.parse("4/13/2008 12:00 AM GMT-0024") == 1208046240000 is true | 310 PASS Date.parse("4/13/2008 12:00 AM GMT-0024") == 1208046240000 is true |
311 PASS Date.parse("4/13/2008 12:00 AM GMT-123") == 1208049780000 is true | 311 PASS Date.parse("4/13/2008 12:00 AM GMT-123") == 1208049780000 is true |
312 PASS Date.parse("4/13/2008 12:00 AM GMT-1230") == 1208089800000 is true | 312 PASS Date.parse("4/13/2008 12:00 AM GMT-1230") == 1208089800000 is true |
313 PASS successfullyParsed is true | 313 PASS successfullyParsed is true |
314 | 314 |
315 TEST COMPLETE | 315 TEST COMPLETE |
316 | 316 |
OLD | NEW |