mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:07:46 +00:00
LibJS: Use fully spec'd algorithm for ToISOWeekOfYear
This is an editorial change in the Temporal spec.
See: 33b62a3
This commit is contained in:
parent
b438839fcc
commit
741cc08221
3 changed files with 113 additions and 48 deletions
|
@ -75,5 +75,7 @@ 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(VM&, Object const& fields, Object const& additional_fields);
|
||||
u16 to_iso_day_of_year(i32 year, u8 month, u8 day);
|
||||
u8 to_iso_day_of_week(i32 year, u8 month, u8 day);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue