summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-08-17 20:38:29 +0100
committerLinus Groh <mail@linusgroh.de>2021-08-17 21:59:35 +0100
commit0cdad283c0088a31b7844fc2cef5a57187d2f460 (patch)
tree3b257eedd4e27c88ae85ed96dacb15b209c02e64 /Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.cpp
parent74ee1c9a8c77330e988155399535ac92f2d354f4 (diff)
downloadserenity-0cdad283c0088a31b7844fc2cef5a57187d2f460.zip
LibJS: Reflect Record wording editorial change in the Temporal spec
See: https://github.com/tc39/proposal-temporal/commit/c8f14d0
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.cpp')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.cpp
index 0b71e50244..9dce0cfa62 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.cpp
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.cpp
@@ -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) };
}