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

LibJS: Reflect Record wording editorial change in the Temporal spec

See: c8f14d0
This commit is contained in:
Linus Groh 2021-08-17 20:38:29 +01:00
parent 74ee1c9a8c
commit 0cdad283c0
7 changed files with 13 additions and 13 deletions

View file

@ -119,7 +119,7 @@ DaysAndTime balance_time(i64 hour, i64 minute, i64 second, i64 millisecond, i64
// 13. Set hour to hour modulo 24.
hour %= 24;
// 14. Return the new Record { [[Days]]: days, [[Hour]]: hour, [[Minute]]: minute, [[Second]]: second, [[Millisecond]]: millisecond, [[Microsecond]]: microsecond, [[Nanosecond]]: nanosecond }.
// 14. Return the Record { [[Days]]: days, [[Hour]]: hour, [[Minute]]: minute, [[Second]]: second, [[Millisecond]]: millisecond, [[Microsecond]]: microsecond, [[Nanosecond]]: nanosecond }.
return DaysAndTime {
.days = static_cast<i32>(days),
.hour = static_cast<u8>(hour),