summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-26 23:38:49 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-26 23:39:11 +0100
commitc6f4ecced9abd2b1ba78959ad1a698399e2ce542 (patch)
treeeeeeabcedad780a52aa9302265806855bf77f7d1 /Userland
parent13773d3ced815fc86916cebc39049c288b4c5e02 (diff)
downloadserenity-c6f4ecced9abd2b1ba78959ad1a698399e2ce542.zip
LibJS: Update Temporal spec comment that's now been corrected
See: https://github.com/tc39/proposal-temporal/commit/6d2350f
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimePrototype.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimePrototype.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimePrototype.cpp
index 0a273be456..9ed8350014 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimePrototype.cpp
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimePrototype.cpp
@@ -117,8 +117,7 @@ JS_DEFINE_NATIVE_FUNCTION(PlainDateTimePrototype::get_iso_fields)
// 11. Perform ! CreateDataPropertyOrThrow(fields, "isoNanosecond", 𝔽(dateTime.[[ISONanosecond]])).
fields->create_data_property_or_throw(vm.names.isoNanosecond, Value(date_time->iso_nanosecond()));
- // TODO: Typo in the spec? ([[Second]] -> [[ISOSecond]])
- // 12. Perform ! CreateDataPropertyOrThrow(fields, "isoSecond", 𝔽(dateTime.[[Second]])).
+ // 12. Perform ! CreateDataPropertyOrThrow(fields, "isoSecond", 𝔽(dateTime.[[ISOSecond]])).
fields->create_data_property_or_throw(vm.names.isoSecond, Value(date_time->iso_second()));
// 13. Perform ! CreateDataPropertyOrThrow(fields, "isoYear", 𝔽(dateTime.[[ISOYear]])).