mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-05 07:39:16 +00:00
LibJS+LibUnicode: Port Intl.DurationFormat to UTF-16 strings
This commit is contained in:
parent
e637e148d4
commit
6fe0e13474
Notes:
github-actions[bot]
2025-07-24 08:41:19 +00:00
Author: https://github.com/trflynn89
Commit: 6fe0e13474
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5581
4 changed files with 21 additions and 21 deletions
|
@ -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 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue