mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 15:32:22 +00:00
LibJS: Fix a typo in an Intl.DateTimeFormat spec comment
This is an editorial change in the ECMA-402 spec. See:
078bea0
This commit is contained in:
parent
048d0a9870
commit
01fc025e9d
Notes:
sideshowbarker
2024-07-17 11:34:34 +09:00
Author: https://github.com/trflynn89
Commit: 01fc025e9d
Pull-request: https://github.com/SerenityOS/serenity/pull/16512
Reviewed-by: https://github.com/linusg ✅
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ ThrowCompletionOr<DateTimeFormat*> initialize_date_time_format(VM& vm, DateTimeF
|
||||||
date_time_format.clear_hour_cycle();
|
date_time_format.clear_hour_cycle();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 46. If dateTimeformat.[[HourCycle]] is "h11" or "h12", then
|
// 46. If dateTimeFormat.[[HourCycle]] is "h11" or "h12", then
|
||||||
if ((hour_cycle_value == ::Locale::HourCycle::H11) || (hour_cycle_value == ::Locale::HourCycle::H12)) {
|
if ((hour_cycle_value == ::Locale::HourCycle::H11) || (hour_cycle_value == ::Locale::HourCycle::H12)) {
|
||||||
// a. Let pattern be bestFormat.[[pattern12]].
|
// a. Let pattern be bestFormat.[[pattern12]].
|
||||||
if (best_format->pattern12.has_value()) {
|
if (best_format->pattern12.has_value()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue