mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:17:35 +00:00
LibJS: Delegate to NumberFormat for DurationFormat unit formatting
This is a normative change in the Intl.DurationFormat proposal. See:
12ba9df
This commit is contained in:
parent
a5bf32018f
commit
99fc94e138
2 changed files with 35 additions and 49 deletions
|
@ -194,7 +194,7 @@ struct DurationInstanceComponent {
|
|||
DurationFormat::Display (DurationFormat::*get_display_slot)() const;
|
||||
void (DurationFormat::*set_display_slot)(StringView);
|
||||
StringView unit;
|
||||
StringView unit_singular;
|
||||
StringView number_format_unit;
|
||||
Span<StringView const> values;
|
||||
StringView digital_default;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue