| OLD | NEW |
| (Empty) |
| 1 Test of JavaScript date parsing. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 14 PASS Date.parse("0000-01-01T00:00:00Z") == -62167219200000 is true | |
| 15 FAIL Date.parse("+99999-12-31T24:00:00Z") == 3093527980800000 should be true. Wa
s false. | |
| 16 FAIL Date.parse("-99999-01-01T00:00:00Z") == -3217830796800000 should be true. W
as false. | |
| 17 FAIL Date.parse("1995-12-31T23:59:60Z") == 820454400000 should be true. Was fals
e. | |
| 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 | |
| 20 PASS Date.parse("1995-00-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 | |
| 23 PASS Date.parse("1995/12/25T01: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 | |
| 26 PASS Date.parse("1995-12-25T01:30:00.+1Z") 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 | |
| 29 FAIL Date.parse("1995-02-29T00:00:00Z") should be NaN. Was 794016000000. | |
| 30 FAIL Date.parse("1995-12-25 01:30:00Z") should be NaN. Was 819855000000. | |
| 31 FAIL Date.parse("1995-12-25T01:30:00z") should be NaN. Was 819855000000. | |
| 32 PASS Number(Date.parse('1970')) is 0 | |
| 33 PASS Number(Date.parse('1970-01')) is 0 | |
| 34 PASS Number(Date.parse('1970-01-01')) is 0 | |
| 35 PASS Number(Date.parse('1970T00:00')) is 0 | |
| 36 PASS Number(Date.parse('1970-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 | |
| 39 PASS Number(Date.parse('1970-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 | |
| 42 PASS Number(Date.parse('1970-01T00:00:00.000')) is 0 | |
| 43 PASS Number(Date.parse('1970-01-01T00:00:00.000')) is 0 | |
| 44 PASS Number(Date.parse('1970T00:00Z')) is 0 | |
| 45 PASS Number(Date.parse('1970-01T00:00Z')) is 0 | |
| 46 PASS Number(Date.parse('1970-01-01T00:00Z')) is 0 | |
| 47 PASS Number(Date.parse('1970T00:00:00Z')) is 0 | |
| 48 PASS Number(Date.parse('1970-01T00:00:00Z')) is 0 | |
| 49 PASS Number(Date.parse('1970-01-01T00:00:00Z')) is 0 | |
| 50 PASS Number(Date.parse('1970T00:00:00.000Z')) is 0 | |
| 51 PASS Number(Date.parse('1970-01T00:00:00.000Z')) is 0 | |
| 52 PASS Number(Date.parse('1970-01-01T00:00:00.000Z')) is 0 | |
| 53 PASS Number(Date.parse('1970T00:00+00:00')) is 0 | |
| 54 PASS Number(Date.parse('1970-01T00:00+00:00')) is 0 | |
| 55 PASS Number(Date.parse('1970-01-01T00: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 | |
| 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 | |
| 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 | |
| 62 PASS String(Date.parse('')) is "NaN" | |
| 63 PASS String(Date.parse('T00:00:00.000')) is "NaN" | |
| 64 PASS String(Date.parse('T00:00:00.000Z')) is "NaN" | |
| 65 PASS String(Date.parse('Z')) 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" | |
| 68 FAIL String(Date.parse('1970-')) should be NaN. Was 28800000. | |
| 69 FAIL String(Date.parse('1970-01-')) should be NaN. Was 28800000. | |
| 70 PASS String(Date.parse('1970-01-01T')) is "NaN" | |
| 71 PASS String(Date.parse('1970-01-01T0')) is "NaN" | |
| 72 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" | |
| 75 PASS String(Date.parse('1970-01-01T0:0')) 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" | |
| 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" | |
| 80 PASS String(Date.parse('1970-01-01T00:00:00.000+0')) is "NaN" | |
| 81 PASS String(Date.parse('1970-01-01T00:00:00.000+00')) is "NaN" | |
| 82 PASS String(Date.parse('1970-01-01T00:00:00.000+00:')) is "NaN" | |
| 83 PASS String(Date.parse('1970-01-01T00:00:00.000+00:0')) is "NaN" | |
| 84 PASS String(Date.parse('1970-01-01T00:00:00.000+0:0')) is "NaN" | |
| 85 PASS Date.parse("Dec 25 1995 GMT") == 819849600000 is true | |
| 86 PASS Date.parse("DEC 25 1995 GMT") == 819849600000 is true | |
| 87 PASS Date.parse("dec 25 1995 gmt") == 819849600000 is true | |
| 88 PASS Date.parse("Dec 25 1995") == 819849600000 + timeZoneOffset is true | |
| 89 PASS Date.parse("DEC 25 1995") == 819849600000 + timeZoneOffset is true | |
| 90 PASS Date.parse("dec 25 1995") == 819849600000 + timeZoneOffset is true | |
| 91 PASS Date.parse("Dec 25 1995 1:30 GMT") == 819855000000 is true | |
| 92 PASS Date.parse("DEC 25 1995 1:30 GMT") == 819855000000 is true | |
| 93 PASS Date.parse("dec 25 1995 1:30 gmt") == 819855000000 is true | |
| 94 PASS Date.parse("Dec 25 1995 1:30") == 819855000000 + timeZoneOffset is true | |
| 95 PASS Date.parse("DEC 25 1995 1:30") == 819855000000 + timeZoneOffset is true | |
| 96 PASS Date.parse("dec 25 1995 1:30") == 819855000000 + timeZoneOffset is true | |
| 97 PASS Date.parse("Dec 25 1995 1:30 ") == 819855000000 + timeZoneOffset is true | |
| 98 PASS Date.parse("DEC 25 1995 1:30 ") == 819855000000 + timeZoneOffset is true | |
| 99 PASS Date.parse("dec 25 1995 1:30 ") == 819855000000 + timeZoneOffset is true | |
| 100 PASS Date.parse("Dec 25 1995 1:30 AM GMT") == 819855000000 is true | |
| 101 PASS Date.parse("DEC 25 1995 1:30 AM GMT") == 819855000000 is true | |
| 102 PASS Date.parse("dec 25 1995 1:30 am gmt") == 819855000000 is true | |
| 103 PASS Date.parse("Dec 25 1995 1:30 AM") == 819855000000 + timeZoneOffset is true | |
| 104 PASS Date.parse("DEC 25 1995 1:30 AM") == 819855000000 + timeZoneOffset is true | |
| 105 PASS Date.parse("dec 25 1995 1:30 am") == 819855000000 + timeZoneOffset is true | |
| 106 PASS Date.parse("Dec 25 1995 1:30AM") is NaN | |
| 107 PASS Date.parse("DEC 25 1995 1:30AM") is NaN | |
| 108 PASS Date.parse("dec 25 1995 1:30am") is NaN | |
| 109 PASS Date.parse("Dec 25 1995 1:30 AM ") == 819855000000 + timeZoneOffset is true | |
| 110 PASS Date.parse("DEC 25 1995 1:30 AM ") == 819855000000 + timeZoneOffset is true | |
| 111 PASS Date.parse("dec 25 1995 1:30 am ") == 819855000000 + timeZoneOffset is true | |
| 112 PASS Date.parse("Dec 25 1995 13:30 GMT") == 819898200000 is true | |
| 113 PASS Date.parse("DEC 25 1995 13:30 GMT") == 819898200000 is true | |
| 114 PASS Date.parse("dec 25 1995 13:30 gmt") == 819898200000 is true | |
| 115 PASS Date.parse("Dec 25 1995 13:30") == 819898200000 + timeZoneOffset is true | |
| 116 PASS Date.parse("DEC 25 1995 13:30") == 819898200000 + timeZoneOffset is true | |
| 117 PASS Date.parse("dec 25 1995 13:30") == 819898200000 + timeZoneOffset is true | |
| 118 PASS Date.parse("Dec 25 13:30 1995") == 819898200000 + timeZoneOffset is true | |
| 119 PASS Date.parse("DEC 25 13:30 1995") == 819898200000 + timeZoneOffset is true | |
| 120 PASS Date.parse("dec 25 13:30 1995") == 819898200000 + timeZoneOffset is true | |
| 121 PASS Date.parse("Dec 25 1995 13:30 ") == 819898200000 + timeZoneOffset is true | |
| 122 PASS Date.parse("DEC 25 1995 13:30 ") == 819898200000 + timeZoneOffset is true | |
| 123 PASS Date.parse("dec 25 1995 13:30 ") == 819898200000 + timeZoneOffset is true | |
| 124 PASS Date.parse("Dec 25 1995 1:30 PM GMT") == 819898200000 is true | |
| 125 PASS Date.parse("DEC 25 1995 1:30 PM GMT") == 819898200000 is true | |
| 126 PASS Date.parse("dec 25 1995 1:30 pm gmt") == 819898200000 is true | |
| 127 PASS Date.parse("Dec 25 1995 1:30 PM") == 819898200000 + timeZoneOffset is true | |
| 128 PASS Date.parse("DEC 25 1995 1:30 PM") == 819898200000 + timeZoneOffset is true | |
| 129 PASS Date.parse("dec 25 1995 1:30 pm") == 819898200000 + timeZoneOffset is true | |
| 130 PASS Date.parse("Dec 25 1995 1:30PM") is NaN | |
| 131 PASS Date.parse("DEC 25 1995 1:30PM") is NaN | |
| 132 PASS Date.parse("dec 25 1995 1:30pm") is NaN | |
| 133 PASS Date.parse("Dec 25 1995 1:30 PM ") == 819898200000 + timeZoneOffset is true | |
| 134 PASS Date.parse("DEC 25 1995 1:30 PM ") == 819898200000 + timeZoneOffset is true | |
| 135 PASS Date.parse("dec 25 1995 1:30 pm ") == 819898200000 + timeZoneOffset is true | |
| 136 PASS Date.parse("Dec 25 1995 UTC") == 819849600000 is true | |
| 137 PASS Date.parse("DEC 25 1995 UTC") == 819849600000 is true | |
| 138 PASS Date.parse("dec 25 1995 utc") == 819849600000 is true | |
| 139 PASS Date.parse("Dec 25 1995 UT") == 819849600000 is true | |
| 140 PASS Date.parse("DEC 25 1995 UT") == 819849600000 is true | |
| 141 PASS Date.parse("dec 25 1995 ut") == 819849600000 is true | |
| 142 PASS Date.parse("Dec 25 1995 PST") == 819878400000 is true | |
| 143 PASS Date.parse("DEC 25 1995 PST") == 819878400000 is true | |
| 144 PASS Date.parse("dec 25 1995 pst") == 819878400000 is true | |
| 145 PASS Date.parse("Dec 25 1995 PDT") == 819874800000 is true | |
| 146 PASS Date.parse("DEC 25 1995 PDT") == 819874800000 is true | |
| 147 PASS Date.parse("dec 25 1995 pdt") == 819874800000 is true | |
| 148 PASS Date.parse("Dec 25 1995 1:30 UTC") == 819855000000 is true | |
| 149 PASS Date.parse("DEC 25 1995 1:30 UTC") == 819855000000 is true | |
| 150 PASS Date.parse("dec 25 1995 1:30 utc") == 819855000000 is true | |
| 151 PASS Date.parse("Dec 25 1995 1:30 UT") == 819855000000 is true | |
| 152 PASS Date.parse("DEC 25 1995 1:30 UT") == 819855000000 is true | |
| 153 PASS Date.parse("dec 25 1995 1:30 ut") == 819855000000 is true | |
| 154 PASS Date.parse("Dec 25 1995 1:30 PST") == 819883800000 is true | |
| 155 PASS Date.parse("DEC 25 1995 1:30 PST") == 819883800000 is true | |
| 156 PASS Date.parse("dec 25 1995 1:30 pst") == 819883800000 is true | |
| 157 PASS Date.parse("Dec 25 1995 1:30 PDT") == 819880200000 is true | |
| 158 PASS Date.parse("DEC 25 1995 1:30 PDT") == 819880200000 is true | |
| 159 PASS Date.parse("dec 25 1995 1:30 pdt") == 819880200000 is true | |
| 160 PASS Date.parse("Dec 25 1995 1:30 PM UTC") == 819898200000 is true | |
| 161 PASS Date.parse("DEC 25 1995 1:30 PM UTC") == 819898200000 is true | |
| 162 PASS Date.parse("dec 25 1995 1:30 pm utc") == 819898200000 is true | |
| 163 PASS Date.parse("Dec 25 1995 1:30 PM UT") == 819898200000 is true | |
| 164 PASS Date.parse("DEC 25 1995 1:30 PM UT") == 819898200000 is true | |
| 165 PASS Date.parse("dec 25 1995 1:30 pm ut") == 819898200000 is true | |
| 166 PASS Date.parse("Dec 25 1995 1:30 PM PST") == 819927000000 is true | |
| 167 PASS Date.parse("DEC 25 1995 1:30 PM PST") == 819927000000 is true | |
| 168 PASS Date.parse("dec 25 1995 1:30 pm pst") == 819927000000 is true | |
| 169 PASS Date.parse("Dec 25 1995 1:30 PM PDT") == 819923400000 is true | |
| 170 PASS Date.parse("DEC 25 1995 1:30 PM PDT") == 819923400000 is true | |
| 171 PASS Date.parse("dec 25 1995 1:30 pm pdt") == 819923400000 is true | |
| 172 PASS Date.parse("Dec 25 1995 XXX") is NaN | |
| 173 PASS Date.parse("DEC 25 1995 XXX") is NaN | |
| 174 PASS Date.parse("dec 25 1995 xxx") is NaN | |
| 175 PASS Date.parse("Dec 25 1995 1:30 XXX") is NaN | |
| 176 PASS Date.parse("DEC 25 1995 1:30 XXX") is NaN | |
| 177 PASS Date.parse("dec 25 1995 1:30 xxx") is NaN | |
| 178 PASS Date.parse("Dec 25 1995 1:30 U") is NaN | |
| 179 PASS Date.parse("DEC 25 1995 1:30 U") is NaN | |
| 180 PASS Date.parse("dec 25 1995 1:30 u") is NaN | |
| 181 PASS Date.parse("Dec 25 1995 1:30 V") is NaN | |
| 182 PASS Date.parse("DEC 25 1995 1:30 V") is NaN | |
| 183 PASS Date.parse("dec 25 1995 1:30 v") is NaN | |
| 184 PASS Date.parse("Dec 25 1995 1:30 W") is NaN | |
| 185 PASS Date.parse("DEC 25 1995 1:30 W") is NaN | |
| 186 PASS Date.parse("dec 25 1995 1:30 w") is NaN | |
| 187 PASS Date.parse("Dec 25 1995 1:30 X") is NaN | |
| 188 PASS Date.parse("DEC 25 1995 1:30 X") is NaN | |
| 189 PASS Date.parse("dec 25 1995 1:30 x") is NaN | |
| 190 PASS Date.parse("Dec 25 1995 0:30 GMT") == 819851400000 is true | |
| 191 PASS Date.parse("DEC 25 1995 0:30 GMT") == 819851400000 is true | |
| 192 PASS Date.parse("dec 25 1995 0:30 gmt") == 819851400000 is true | |
| 193 PASS Date.parse("Dec 25 1995 0:30 AM GMT") == 819851400000 is true | |
| 194 PASS Date.parse("DEC 25 1995 0:30 AM GMT") == 819851400000 is true | |
| 195 PASS Date.parse("dec 25 1995 0:30 am gmt") == 819851400000 is true | |
| 196 PASS Date.parse("Dec 25 1995 0:30 PM GMT") == 819894600000 is true | |
| 197 PASS Date.parse("DEC 25 1995 0:30 PM GMT") == 819894600000 is true | |
| 198 PASS Date.parse("dec 25 1995 0:30 pm gmt") == 819894600000 is true | |
| 199 PASS Date.parse("Dec 25 1995 12:30 AM GMT") == 819851400000 is true | |
| 200 PASS Date.parse("DEC 25 1995 12:30 AM GMT") == 819851400000 is true | |
| 201 PASS Date.parse("dec 25 1995 12:30 am gmt") == 819851400000 is true | |
| 202 PASS Date.parse("Dec 25 1995 12:30 PM GMT") == 819894600000 is true | |
| 203 PASS Date.parse("DEC 25 1995 12:30 PM GMT") == 819894600000 is true | |
| 204 PASS Date.parse("dec 25 1995 12:30 pm gmt") == 819894600000 is true | |
| 205 PASS Date.parse("Dec 25 1995 13:30 AM GMT") is NaN | |
| 206 PASS Date.parse("DEC 25 1995 13:30 AM GMT") is NaN | |
| 207 PASS Date.parse("dec 25 1995 13:30 am gmt") is NaN | |
| 208 PASS Date.parse("Dec 25 1995 13:30 PM GMT") is NaN | |
| 209 PASS Date.parse("DEC 25 1995 13:30 PM GMT") is NaN | |
| 210 PASS Date.parse("dec 25 1995 13:30 pm gmt") is NaN | |
| 211 PASS Date.parse("Dec 25 1995 12:30 PM GMT+00") == 819894600000 is true | |
| 212 PASS Date.parse("DEC 25 1995 12:30 PM GMT+00") == 819894600000 is true | |
| 213 PASS Date.parse("dec 25 1995 12:30 pm gmt+00") == 819894600000 is true | |
| 214 PASS Date.parse("Dec 25 1995 12:30 PM GMT+0000") == 819894600000 is true | |
| 215 PASS Date.parse("DEC 25 1995 12:30 PM GMT+0000") == 819894600000 is true | |
| 216 PASS Date.parse("dec 25 1995 12:30 pm gmt+0000") == 819894600000 is true | |
| 217 PASS Date.parse("Dec 25 1995 12:30 PM GMT+00:00") == 819894600000 is true | |
| 218 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 229 FAIL Date.parse("Dec 25 1995 12:30 PM GMT+01") == 819891000000 should be true. W
as false. | |
| 230 FAIL Date.parse("DEC 25 1995 12:30 PM GMT+01") == 819891000000 should be true. W
as false. | |
| 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 | |
| 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 | |
| 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 | |
| 237 PASS Date.parse("dec 25 1995 12:30 pm gmt+01:00") == 819891000000 is true | |
| 238 FAIL Date.parse("Dec 25 1995 12:30 PM+01") == 819891000000 should be true. Was f
alse. | |
| 239 FAIL Date.parse("DEC 25 1995 12:30 PM+01") == 819891000000 should be true. Was f
alse. | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 248 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 275 FAIL Date.parse("Wed Dec 25 1995 01:30 &1700") should be NaN. Was 819883800000. | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 304 FAIL Date.parse("4/13/2008 12:00 AM GMT-4") == 1208059200000 should be true. Was
false. | |
| 305 FAIL Date.parse("4/13/2008 12:00 AM GMT-23") == 1208127600000 should be true. Wa
s false. | |
| 306 FAIL Date.parse("4/13/2008 12:00 AM GMT+23") == 1207962000000 should be true. Wa
s false. | |
| 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 | |
| 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 | |
| 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 | |
| 313 PASS successfullyParsed is true | |
| 314 | |
| 315 TEST COMPLETE | |
| 316 | |
| OLD | NEW |