mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibJS: Use Temporal for the Date constructor and Date.now()
This commit is contained in:
parent
7aee254708
commit
8e8c133db5
Notes:
github-actions[bot]
2024-11-26 21:57:43 +00:00
Author: https://github.com/trflynn89
Commit: 8e8c133db5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2594
3 changed files with 26 additions and 14 deletions
|
@ -32,6 +32,7 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(plain_time_iso);
|
||||
};
|
||||
|
||||
double system_utc_epoch_milliseconds(VM&);
|
||||
Crypto::SignedBigInteger system_utc_epoch_nanoseconds(VM&);
|
||||
ThrowCompletionOr<ISODateTime> system_date_time(VM&, Value temporal_time_zone_like);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue