quickjs/gen
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
..
function_source.c Check-in all generated C files 2024-02-13 09:49:57 +01:00
hello.c Check-in all generated C files 2024-02-13 09:49:57 +01:00
hello_module.c Check-in all generated C files 2024-02-13 09:49:57 +01:00
repl.c Improve Date.parse (#289) 2024-03-10 10:34:26 +01:00
test_fib.c Check-in all generated C files 2024-02-13 09:49:57 +01:00