1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:57:35 +00:00

LibJS: Add an explicit operation for merging calendar field names

This is an editorial change in the Temporal spec.

See: 2bd7977
This commit is contained in:
Linus Groh 2022-06-15 00:05:05 +01:00
parent ee80164ac1
commit 3025f77991
4 changed files with 33 additions and 20 deletions

View file

@ -74,5 +74,6 @@ u8 iso_month(Object& temporal_object);
String iso_month_code(Object& temporal_object);
u8 iso_day(Object& temporal_object);
ThrowCompletionOr<Object*> default_merge_calendar_fields(GlobalObject&, Object const& fields, Object const& additional_fields);
Vector<String> calendar_merge_field_names(Vector<String> const& receiver_field_names, Vector<String> const& input_field_names);
}