LibJS+LibUnicode: Port Intl.DurationFormat to UTF-16 strings

This commit is contained in:
Timothy Flynn 2025-07-23 14:50:46 -04:00 committed by Andreas Kling
commit 6fe0e13474
Notes: github-actions[bot] 2025-07-24 08:41:19 +00:00
4 changed files with 21 additions and 21 deletions

View file

@ -1,18 +1,18 @@
/*
* Copyright (c) 2024, Tim Flynn <trflynn89@serenityos.org>
* Copyright (c) 2024-2025, Tim Flynn <trflynn89@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/String.h>
#include <AK/Utf16String.h>
namespace Unicode {
struct DigitalFormat {
String hours_minutes_separator { ":"_string };
String minutes_seconds_separator { ":"_string };
Utf16String hours_minutes_separator { ":"_utf16 };
Utf16String minutes_seconds_separator { ":"_utf16 };
bool uses_two_digit_hours { false };
};