1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:37:35 +00:00

LibJS: Partially implement the LocalTZA AO

Intl.DateTimeFormat will invoke this AO with isUTC=true, so this only
implements that branch in LocalTZA.
This commit is contained in:
Timothy Flynn 2022-01-11 23:27:05 -05:00 committed by Linus Groh
parent f6786881aa
commit 8987deb984
2 changed files with 25 additions and 0 deletions

View file

@ -104,6 +104,7 @@ u8 min_from_time(double);
u8 sec_from_time(double);
u16 ms_from_time(double);
u8 week_day(double);
double local_tza(double time, bool is_utc, Optional<StringView> time_zone_override = {});
double day(double);
Value make_time(GlobalObject& global_object, Value hour, Value min, Value sec, Value ms);
Value make_day(GlobalObject& global_object, Value year, Value month, Value date);