| 1 | [ |
| 2 | { |
| 3 | "id": "1115-feel-date-function:001_e9ae035ab9:feel-date-function_ErrorCase_001_e9ae035ab9", |
| 4 | "expression": "date(null)", |
| 5 | "expected": null, |
| 6 | "expected_type": "null", |
| 7 | "comparison": "exact", |
| 8 | "deviation": null |
| 9 | }, |
| 10 | { |
| 11 | "id": "1115-feel-date-function:002_9b9e6085ce:feel-date-function_ErrorCase_002_9b9e6085ce", |
| 12 | "expression": "date(null,null)", |
| 13 | "expected": null, |
| 14 | "expected_type": "null", |
| 15 | "comparison": "exact", |
| 16 | "deviation": null |
| 17 | }, |
| 18 | { |
| 19 | "id": "1115-feel-date-function:003_e4b7918d8f:feel-date-function_ErrorCase_003_e4b7918d8f", |
| 20 | "expression": "date(null,2,1)", |
| 21 | "expected": null, |
| 22 | "expected_type": "null", |
| 23 | "comparison": "exact", |
| 24 | "deviation": null |
| 25 | }, |
| 26 | { |
| 27 | "id": "1115-feel-date-function:004_f24ed41117:feel-date-function_ErrorCase_004_f24ed41117", |
| 28 | "expression": "date(2017,null,1)", |
| 29 | "expected": null, |
| 30 | "expected_type": "null", |
| 31 | "comparison": "exact", |
| 32 | "deviation": null |
| 33 | }, |
| 34 | { |
| 35 | "id": "1115-feel-date-function:005_3540a22062:feel-date-function_ErrorCase_005_3540a22062", |
| 36 | "expression": "date(2017,1,null)", |
| 37 | "expected": null, |
| 38 | "expected_type": "null", |
| 39 | "comparison": "exact", |
| 40 | "deviation": null |
| 41 | }, |
| 42 | { |
| 43 | "id": "1115-feel-date-function:006_616e24dbb7:feel-date-function_ErrorCase_006_616e24dbb7", |
| 44 | "expression": "date(null,null,1)", |
| 45 | "expected": null, |
| 46 | "expected_type": "null", |
| 47 | "comparison": "exact", |
| 48 | "deviation": null |
| 49 | }, |
| 50 | { |
| 51 | "id": "1115-feel-date-function:007_cda82a5d01:feel-date-function_ErrorCase_007_cda82a5d01", |
| 52 | "expression": "date(null,02,null)", |
| 53 | "expected": null, |
| 54 | "expected_type": "null", |
| 55 | "comparison": "exact", |
| 56 | "deviation": null |
| 57 | }, |
| 58 | { |
| 59 | "id": "1115-feel-date-function:008_492649d3d0:feel-date-function_ErrorCase_008_492649d3d0", |
| 60 | "expression": "date(2017,null,null)", |
| 61 | "expected": null, |
| 62 | "expected_type": "null", |
| 63 | "comparison": "exact", |
| 64 | "deviation": null |
| 65 | }, |
| 66 | { |
| 67 | "id": "1115-feel-date-function:009_9e00bbdad3:feel-date-function_ErrorCase_009_9e00bbdad3", |
| 68 | "expression": "date(null,null,null)", |
| 69 | "expected": null, |
| 70 | "expected_type": "null", |
| 71 | "comparison": "exact", |
| 72 | "deviation": null |
| 73 | }, |
| 74 | { |
| 75 | "id": "1115-feel-date-function:010_6d4d58d23a:feel-date-function_ErrorCase_010_6d4d58d23a", |
| 76 | "expression": "date()", |
| 77 | "expected": null, |
| 78 | "expected_type": "null", |
| 79 | "comparison": "exact", |
| 80 | "deviation": null |
| 81 | }, |
| 82 | { |
| 83 | "id": "1115-feel-date-function:011_5f0b42b1f8:feel-date-function_011_5f0b42b1f8", |
| 84 | "expression": "date(\"2017-12-31\")", |
| 85 | "expected": "2017-12-31", |
| 86 | "expected_type": "date", |
| 87 | "comparison": "exact", |
| 88 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 89 | }, |
| 90 | { |
| 91 | "id": "1115-feel-date-function:012_d9e4b97438:feel-date-function_012_d9e4b97438", |
| 92 | "expression": "date(\"2017-01-01\")", |
| 93 | "expected": "2017-01-01", |
| 94 | "expected_type": "date", |
| 95 | "comparison": "exact", |
| 96 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 97 | }, |
| 98 | { |
| 99 | "id": "1115-feel-date-function:013_d7e901ee86:feel-date-function_013_d7e901ee86", |
| 100 | "expression": "date(\"-2017-12-31\")", |
| 101 | "expected": "-2017-12-31", |
| 102 | "expected_type": "date", |
| 103 | "comparison": "exact", |
| 104 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 105 | }, |
| 106 | { |
| 107 | "id": "1115-feel-date-function:014_fad7e00633:feel-date-function_014_fad7e00633", |
| 108 | "expression": "date(\"-2017-01-01\")", |
| 109 | "expected": "-2017-01-01", |
| 110 | "expected_type": "date", |
| 111 | "comparison": "exact", |
| 112 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 113 | }, |
| 114 | { |
| 115 | "id": "1115-feel-date-function:017_887dfef005:feel-date-function_017_887dfef005", |
| 116 | "expression": "date(date and time(\"2017-08-14T14:25:00\"))", |
| 117 | "expected": "2017-08-14", |
| 118 | "expected_type": "date", |
| 119 | "comparison": "exact", |
| 120 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 121 | }, |
| 122 | { |
| 123 | "id": "1115-feel-date-function:018_fc0ef0c8cb:feel-date-function_018_fc0ef0c8cb", |
| 124 | "expression": "date(date and time(date and time(\"2017-08-14T14:25:00\"),time(\"10:50:00\")))", |
| 125 | "expected": "2017-08-14", |
| 126 | "expected_type": "date", |
| 127 | "comparison": "exact", |
| 128 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 129 | }, |
| 130 | { |
| 131 | "id": "1115-feel-date-function:019_b2b82796ce:feel-date-function_019_b2b82796ce", |
| 132 | "expression": "date(date and time(\"2017-08-14T14:25:00.123456789\"))", |
| 133 | "expected": "2017-08-14", |
| 134 | "expected_type": "date", |
| 135 | "comparison": "exact", |
| 136 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 137 | }, |
| 138 | { |
| 139 | "id": "1115-feel-date-function:020_7d56b7bf63:feel-date-function_020_7d56b7bf63", |
| 140 | "expression": "date(date and time(\"2017-09-03T09:45:30@Europe/Paris\"))", |
| 141 | "expected": "2017-09-03", |
| 142 | "expected_type": "date", |
| 143 | "comparison": "exact", |
| 144 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 145 | }, |
| 146 | { |
| 147 | "id": "1115-feel-date-function:021_95fb3d9984:feel-date-function_021_95fb3d9984", |
| 148 | "expression": "date(date and time(\"2017-09-06T09:45:30@Asia/Dhaka\"))", |
| 149 | "expected": "2017-09-06", |
| 150 | "expected_type": "date", |
| 151 | "comparison": "exact", |
| 152 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 153 | }, |
| 154 | { |
| 155 | "id": "1115-feel-date-function:022_4063db2d59:feel-date-function_022_4063db2d59", |
| 156 | "expression": "date(date and time(\"2012-12-25T11:00:00Z\"))", |
| 157 | "expected": "2012-12-25", |
| 158 | "expected_type": "date", |
| 159 | "comparison": "exact", |
| 160 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 161 | }, |
| 162 | { |
| 163 | "id": "1115-feel-date-function:023_4a1f604006:feel-date-function_023_4a1f604006", |
| 164 | "expression": "date(date and time(\"2017-08-03T10:15:30+01:00\"))", |
| 165 | "expected": "2017-08-03", |
| 166 | "expected_type": "date", |
| 167 | "comparison": "exact", |
| 168 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 169 | }, |
| 170 | { |
| 171 | "id": "1115-feel-date-function:024_3cb98a2bb8:feel-date-function_024_3cb98a2bb8", |
| 172 | "expression": "date(date(\"2017-10-11\"))", |
| 173 | "expected": "2017-10-11", |
| 174 | "expected_type": "date", |
| 175 | "comparison": "exact", |
| 176 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 177 | }, |
| 178 | { |
| 179 | "id": "1115-feel-date-function:025_cf0ad1313c:feel-date-function_025_cf0ad1313c", |
| 180 | "expression": "date(2017,12,31)", |
| 181 | "expected": "2017-12-31", |
| 182 | "expected_type": "date", |
| 183 | "comparison": "exact", |
| 184 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 185 | }, |
| 186 | { |
| 187 | "id": "1115-feel-date-function:026_cedd7e5e5f:feel-date-function_026_cedd7e5e5f", |
| 188 | "expression": "date(2017,01,01)", |
| 189 | "expected": "2017-01-01", |
| 190 | "expected_type": "date", |
| 191 | "comparison": "exact", |
| 192 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 193 | }, |
| 194 | { |
| 195 | "id": "1115-feel-date-function:027_987c5be372:feel-date-function_027_987c5be372", |
| 196 | "expression": "date(-2017,12,31)", |
| 197 | "expected": "-2017-12-31", |
| 198 | "expected_type": "date", |
| 199 | "comparison": "exact", |
| 200 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 201 | }, |
| 202 | { |
| 203 | "id": "1115-feel-date-function:028_35ca79a6cd:feel-date-function_028_35ca79a6cd", |
| 204 | "expression": "date(-2017,01,01)", |
| 205 | "expected": "-2017-01-01", |
| 206 | "expected_type": "date", |
| 207 | "comparison": "exact", |
| 208 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 209 | }, |
| 210 | { |
| 211 | "id": "1115-feel-date-function:031_4f5ec70669:feel-date-function_ErrorCase_031_4f5ec70669", |
| 212 | "expression": "date(\"2012-12-25T\")", |
| 213 | "expected": null, |
| 214 | "expected_type": "null", |
| 215 | "comparison": "exact", |
| 216 | "deviation": null |
| 217 | }, |
| 218 | { |
| 219 | "id": "1115-feel-date-function:032_fc66cc2fec:feel-date-function_ErrorCase_032_fc66cc2fec", |
| 220 | "expression": "date(\"\")", |
| 221 | "expected": null, |
| 222 | "expected_type": "null", |
| 223 | "comparison": "exact", |
| 224 | "deviation": null |
| 225 | }, |
| 226 | { |
| 227 | "id": "1115-feel-date-function:033_c3a5600c62:feel-date-function_ErrorCase_033_c3a5600c62", |
| 228 | "expression": "date(\"2012/12/25\")", |
| 229 | "expected": null, |
| 230 | "expected_type": "null", |
| 231 | "comparison": "exact", |
| 232 | "deviation": null |
| 233 | }, |
| 234 | { |
| 235 | "id": "1115-feel-date-function:034_7d2e18a10c:feel-date-function_ErrorCase_034_7d2e18a10c", |
| 236 | "expression": "date(\"0000-12-25T\")", |
| 237 | "expected": null, |
| 238 | "expected_type": "null", |
| 239 | "comparison": "exact", |
| 240 | "deviation": null |
| 241 | }, |
| 242 | { |
| 243 | "id": "1115-feel-date-function:035_e6c1bb43fd:feel-date-function_ErrorCase_035_e6c1bb43fd", |
| 244 | "expression": "date(\"9999999999-12-25\")", |
| 245 | "expected": null, |
| 246 | "expected_type": "null", |
| 247 | "comparison": "exact", |
| 248 | "deviation": null |
| 249 | }, |
| 250 | { |
| 251 | "id": "1115-feel-date-function:036_b826a6b5f9:feel-date-function_ErrorCase_036_b826a6b5f9", |
| 252 | "expression": "date(\"2017-13-10\")", |
| 253 | "expected": null, |
| 254 | "expected_type": "null", |
| 255 | "comparison": "exact", |
| 256 | "deviation": null |
| 257 | }, |
| 258 | { |
| 259 | "id": "1115-feel-date-function:037_cfd70896b6:feel-date-function_ErrorCase_037_cfd70896b6", |
| 260 | "expression": "date(\"2017-12-32\")", |
| 261 | "expected": null, |
| 262 | "expected_type": "null", |
| 263 | "comparison": "exact", |
| 264 | "deviation": null |
| 265 | }, |
| 266 | { |
| 267 | "id": "1115-feel-date-function:038_c26782f559:feel-date-function_ErrorCase_038_c26782f559", |
| 268 | "expression": "date(\"998-12-31\")", |
| 269 | "expected": null, |
| 270 | "expected_type": "null", |
| 271 | "comparison": "exact", |
| 272 | "deviation": null |
| 273 | }, |
| 274 | { |
| 275 | "id": "1115-feel-date-function:039_67a6eafa3f:feel-date-function_ErrorCase_039_67a6eafa3f", |
| 276 | "expression": "date(\"01211-12-31\")", |
| 277 | "expected": null, |
| 278 | "expected_type": "null", |
| 279 | "comparison": "exact", |
| 280 | "deviation": null |
| 281 | }, |
| 282 | { |
| 283 | "id": "1115-feel-date-function:040_dd2a2ed4a2:feel-date-function_ErrorCase_040_dd2a2ed4a2", |
| 284 | "expression": "date(\"2012T-12-2511:00:00Z\")", |
| 285 | "expected": null, |
| 286 | "expected_type": "null", |
| 287 | "comparison": "exact", |
| 288 | "deviation": null |
| 289 | }, |
| 290 | { |
| 291 | "id": "1115-feel-date-function:041_9e7e388146:feel-date-function_ErrorCase_041_9e7e388146", |
| 292 | "expression": "date(\"+2012-12-02\")", |
| 293 | "expected": null, |
| 294 | "expected_type": "null", |
| 295 | "comparison": "exact", |
| 296 | "deviation": null |
| 297 | }, |
| 298 | { |
| 299 | "id": "1115-feel-date-function:042_8f5dd97588:feel-date-function_ErrorCase_042_8f5dd97588", |
| 300 | "expression": "date(2017,13,31)", |
| 301 | "expected": null, |
| 302 | "expected_type": "null", |
| 303 | "comparison": "exact", |
| 304 | "deviation": null |
| 305 | }, |
| 306 | { |
| 307 | "id": "1115-feel-date-function:043_8f82301fac:feel-date-function_ErrorCase_043_8f82301fac", |
| 308 | "expression": "date(2017,12,32)", |
| 309 | "expected": null, |
| 310 | "expected_type": "null", |
| 311 | "comparison": "exact", |
| 312 | "deviation": null |
| 313 | }, |
| 314 | { |
| 315 | "id": "1115-feel-date-function:044_74893220b4:feel-date-function_ErrorCase_044_74893220b4", |
| 316 | "expression": "date(2017,-8,2)", |
| 317 | "expected": null, |
| 318 | "expected_type": "null", |
| 319 | "comparison": "exact", |
| 320 | "deviation": null |
| 321 | }, |
| 322 | { |
| 323 | "id": "1115-feel-date-function:045_969723fed5:feel-date-function_ErrorCase_045_969723fed5", |
| 324 | "expression": "date(2017,8,-2)", |
| 325 | "expected": null, |
| 326 | "expected_type": "null", |
| 327 | "comparison": "exact", |
| 328 | "deviation": null |
| 329 | }, |
| 330 | { |
| 331 | "id": "1115-feel-date-function:046_36bf30268a:feel-date-function_ErrorCase_046_36bf30268a", |
| 332 | "expression": "date(-1000999999,12,01)", |
| 333 | "expected": null, |
| 334 | "expected_type": "null", |
| 335 | "comparison": "exact", |
| 336 | "deviation": null |
| 337 | }, |
| 338 | { |
| 339 | "id": "1115-feel-date-function:047_ba717eb672:feel-date-function_ErrorCase_047_ba717eb672", |
| 340 | "expression": "date(1000999999,12,32)", |
| 341 | "expected": null, |
| 342 | "expected_type": "null", |
| 343 | "comparison": "exact", |
| 344 | "deviation": null |
| 345 | }, |
| 346 | { |
| 347 | "id": "1115-feel-date-function:048_25595a6420:feel-date-function_ErrorCase_048_25595a6420", |
| 348 | "expression": "date(1)", |
| 349 | "expected": null, |
| 350 | "expected_type": "null", |
| 351 | "comparison": "exact", |
| 352 | "deviation": null |
| 353 | }, |
| 354 | { |
| 355 | "id": "1115-feel-date-function:049_a1644ce710:feel-date-function_ErrorCase_049_a1644ce710", |
| 356 | "expression": "date([])", |
| 357 | "expected": null, |
| 358 | "expected_type": "null", |
| 359 | "comparison": "exact", |
| 360 | "deviation": null |
| 361 | }, |
| 362 | { |
| 363 | "id": "1115-feel-date-function:052_63457d78b7:feel-date-function_052_63457d78b7", |
| 364 | "expression": "date(year:2017,month:08,day:30)", |
| 365 | "expected": "2017-08-30", |
| 366 | "expected_type": "date", |
| 367 | "comparison": "exact", |
| 368 | "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects." |
| 369 | } |
| 370 | ] |