Prechádzať zdrojové kódy

LibUnicode: Add an hour-cycle field to DateTimeFormat's format pattern

Timothy Flynn 3 rokov pred
rodič
commit
15947aa1f0

+ 1 - 0
Userland/Libraries/LibUnicode/DateTimeFormat.h

@@ -111,6 +111,7 @@ struct CalendarPattern {
     String skeleton {};
     String pattern {};
     Optional<String> pattern12 {};
+    Optional<HourCycle> hour_cycle {};
 
     // https://unicode.org/reports/tr35/tr35-dates.html#Calendar_Fields
     Optional<CalendarPatternStyle> era {};