Fix 24 hour format

This commit is contained in:
Luke Vella 2022-08-12 14:41:56 +01:00
parent 38606937e3
commit e21208cf1c

View file

@ -122,7 +122,7 @@ export const DayjsProvider: React.VoidFunctionComponent<{
localeConfig.timeFormat !== timeFormat
? {
...dayjsLocale.formats,
LT: timeFormat === "12h" ? "h:mm A" : "H:mm",
LT: timeFormat === "12h" ? "h:mm A" : "HH:mm",
}
: dayjsLocale.formats,
});