]> git.kaiwu.me - quickjs.git/commit
Improve Date.parse, small fixes
authorCharlie Gordon <github@chqrlie.org>
Thu, 21 Mar 2024 23:47:17 +0000 (00:47 +0100)
committerCharlie Gordon <github@chqrlie.org>
Thu, 21 Mar 2024 23:47:17 +0000 (00:47 +0100)
commit65ecb0b0d62c3b79ba1d24611f0cd125941430f0
tree99ddd996cd18298be4310414ff852670b63c0a98
parent6a89d7c27099be84e5312a7ec73205d6a7abe1b4
Improve Date.parse, small fixes

- add `minimum_length` to enforce array length validation
- add `JS_NewDate()` API
- add `[Symbol.toStringTag]` property in the global object
- simplify `string_get_milliseconds`
- support more timezone abbrevs using `string_get_tzabbr` and array
cutils.h
quickjs.c
quickjs.h