From 6ad427993a64c846c93ecc1fd3bf3f6d6be9cd3d Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 7 Sep 2021 12:56:50 +0200 Subject: Everywhere: Behaviour => Behavior --- Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.cpp') diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.cpp index 7d0434bd03..59a37dd6f4 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.cpp @@ -103,7 +103,7 @@ Value PlainDateTimeConstructor::construct(FunctionObject& new_target) return {}; // IMPLEMENTATION DEFINED: This is an optimization that allows us to treat these doubles as normal integers from this point onwards. - // This does not change the exposed behaviour as the call to CreateTemporalDateTime will immediately check that these values are valid + // This does not change the exposed behavior as the call to CreateTemporalDateTime will immediately check that these values are valid // ISO values (for years: -273975 - 273975, for months: 1 - 12, for days: 1 - 31, for hours: 0 - 23, for minutes and seconds: 0 - 59, // milliseconds, microseconds, and nanoseconds: 0 - 999) all of which are subsets of this check. if (!AK::is_within_range(iso_year) || !AK::is_within_range(iso_month) || !AK::is_within_range(iso_day) || !AK::is_within_range(hour) || !AK::is_within_range(minute) || !AK::is_within_range(second) || !AK::is_within_range(millisecond) || !AK::is_within_range(microsecond) || !AK::is_within_range(nanosecond)) { -- cgit v1.2.3