mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-07 14:16:01 +02:00
Fix 24 hour format
This commit is contained in:
parent
38606937e3
commit
e21208cf1c
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ export const DayjsProvider: React.VoidFunctionComponent<{
|
||||||
localeConfig.timeFormat !== timeFormat
|
localeConfig.timeFormat !== timeFormat
|
||||||
? {
|
? {
|
||||||
...dayjsLocale.formats,
|
...dayjsLocale.formats,
|
||||||
LT: timeFormat === "12h" ? "h:mm A" : "H:mm",
|
LT: timeFormat === "12h" ? "h:mm A" : "HH:mm",
|
||||||
}
|
}
|
||||||
: dayjsLocale.formats,
|
: dayjsLocale.formats,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue