quickjs/tests
Charlie Gordon 648a8f5be1
Improve Date.parse (#289)
* Improve `Date.parse()`

- rewrite `Date.parse()` with separate parsers
- return `NaN` for out of bounds field values as specified
- add `js_tzabbr` and `string_get_tzabbr` to handle timezone abbreviations
- improve `string_get_milliseconds` readability
- accept up to 9 decimals for millisecond fraction but truncate at 3
- accept many more alternative date/time formats
- add test cases in **tests/test_builtin.js**
- produce readable output for `Date` objects in repl 
- use `JSON.stringify` to output `Date` and `string` values in **repl.js**
- remove `String.prototype.__quote`
- add `minimum_length` macro to specify argument array sizes (C99 except MSVC)
- v8.js: parse all environment variables and output them, update **v8.txt**
2024-03-10 10:34:26 +01:00
..
bjson.c Replace JSValueConst with JSValue (#195) 2023-12-10 15:15:42 +01:00
function_source.js Retain function source code in serialized bytecode (#218) 2023-12-16 01:01:26 +01:00
microbench.js Add os.cputime() (#159) 2023-11-30 00:05:48 +01:00
test262.patch 2020-01-05 release 2020-09-06 18:53:08 +02:00
test_bigint.js Remove trailing whitespace (#46) 2023-11-12 10:01:40 +01:00
test_bjson.js Improve Date.parse (#289) 2024-03-10 10:34:26 +01:00
test_builtin.js Improve Date.parse (#289) 2024-03-10 10:34:26 +01:00
test_closure.js Remove trailing whitespace (#46) 2023-11-12 10:01:40 +01:00
test_language.js Fix js_strtod with large integers 2023-12-23 00:11:41 +01:00
test_loop.js Remove trailing whitespace (#46) 2023-11-12 10:01:40 +01:00
test_queue_microtask.js Add queueMicrotask 2023-11-21 23:43:17 +01:00
test_std.js Disable flaky test on Cygwin (#202) 2023-12-11 22:02:32 +01:00
test_worker.js Refactor build system to use CMake only 2023-11-17 13:10:18 +01:00
test_worker_module.js Remove trailing whitespace (#46) 2023-11-12 10:01:40 +01:00