mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 19:16:02 +00:00
LibJS: Reflect Record wording editorial change in the Temporal spec
See: c8f14d0
This commit is contained in:
parent
74ee1c9a8c
commit
0cdad283c0
Notes:
sideshowbarker
2024-07-18 05:34:36 +09:00
Author: https://github.com/linusg
Commit: 0cdad283c0
Pull-request: https://github.com/SerenityOS/serenity/pull/9478
Reviewed-by: https://github.com/IdanHo ✅
7 changed files with 13 additions and 13 deletions
|
@ -328,7 +328,7 @@ ISODate balance_iso_date(double year_, double month_, double day)
|
|||
month = balanced_year_month.month;
|
||||
}
|
||||
|
||||
// 16. Return the new Record { [[Year]]: year, [[Month]]: month, [[Day]]: day }.
|
||||
// 16. Return the Record { [[Year]]: year, [[Month]]: month, [[Day]]: day }.
|
||||
return ISODate { .year = year, .month = static_cast<u8>(month), .day = static_cast<u8>(day) };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue