mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +00:00
LibJS: Handle Temporal.PlainDate in dynamic calendar operations
This commit is contained in:
parent
5be4825504
commit
c83a3db542
Notes:
github-actions[bot]
2024-11-24 00:38:29 +00:00
Author: https://github.com/trflynn89
Commit: c83a3db542
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2535
2 changed files with 6 additions and 0 deletions
|
@ -624,6 +624,8 @@ ThrowCompletionOr<bool> is_partial_temporal_object(VM& vm, Value value)
|
|||
// [[InitializedTemporalTime]], [[InitializedTemporalYearMonth]], or [[InitializedTemporalZonedDateTime]] internal
|
||||
// slot, return false.
|
||||
// FIXME: Add the other types as we define them.
|
||||
if (is<PlainDate>(object))
|
||||
return false;
|
||||
if (is<PlainMonthDay>(object))
|
||||
return false;
|
||||
if (is<PlainYearMonth>(object))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue