1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:37:36 +00:00

LibJS: Adjust approximated result in year_from_time() if necessary

This commit is contained in:
Linus Groh 2021-11-05 01:18:27 +01:00
parent 37146e305a
commit 1dc32fed8f
2 changed files with 19 additions and 1 deletions

View file

@ -90,6 +90,7 @@ u16 day_within_year(double);
u8 date_from_time(double);
u16 days_in_year(i32);
double day_from_year(i32);
double time_from_year(i32);
i32 year_from_time(double);
bool in_leap_year(double);
u8 month_from_time(double);