1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00

LibJS: Reorganize spec steps for Intl.DateTimeFormat

This is an editorial change in the Intl spec:
97e1ecc
This commit is contained in:
Timothy Flynn 2022-03-15 10:30:33 -04:00 committed by Andreas Kling
parent 194ca06f78
commit 1f9c5c186f
6 changed files with 351 additions and 348 deletions

View file

@ -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());