mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibJS: Reorganize spec steps for Intl.DateTimeFormat
This is an editorial change in the Intl spec: https://github.com/tc39/ecma402/commit/97e1ecc
This commit is contained in:
committed by
Andreas Kling
parent
194ca06f78
commit
1f9c5c186f
Notes:
sideshowbarker
2024-07-17 17:22:39 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/1f9c5c186f Pull-request: https://github.com/SerenityOS/serenity/pull/13060
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021, Tim Flynn <trflynn89@serenityos.org>
|
||||
* Copyright (c) 2021-2022, Tim Flynn <trflynn89@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace JS::Intl {
|
||||
|
||||
// 11.1.6 DateTime Format Functions, https://tc39.es/ecma402/#sec-datetime-format-functions
|
||||
// 11.5.5 DateTime Format Functions, https://tc39.es/ecma402/#sec-datetime-format-functions
|
||||
DateTimeFormatFunction* DateTimeFormatFunction::create(GlobalObject& global_object, DateTimeFormat& date_time_format)
|
||||
{
|
||||
return global_object.heap().allocate<DateTimeFormatFunction>(global_object, date_time_format, *global_object.function_prototype());
|
||||
|
||||
Reference in New Issue
Block a user