mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
LibUnicode: Fix typo in format pattern parser
See: https://unicode.org/reports/tr35/tr35-dates.html#dfst-day
This commit is contained in:
committed by
Linus Groh
parent
bdb8fc54f2
commit
b17c6ab661
@@ -381,7 +381,7 @@ static Optional<CalendarPatternIndexType> parse_date_time_pattern(String pattern
|
||||
format.day = CalendarPatternStyle::Numeric;
|
||||
else
|
||||
format.day = CalendarPatternStyle::TwoDigit;
|
||||
} else if (all_of(segment, is_any_of("DFG"sv))) {
|
||||
} else if (all_of(segment, is_any_of("DFg"sv))) {
|
||||
builder.append("{day}");
|
||||
format.day = CalendarPatternStyle::Numeric;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user