refactor: event type builder (#19459)
This commit is contained in:
1 parent
08d4c800e9
commit
b1b8b0135e
4 files changed
+1049
-52
No files matched your search
@@ -24,7 +24,7 @@ export const getIs24hClockFromLocalStorage = () => {
|
||||
return is24hFromLocalstorage === "true";
|
||||
};
|
||||
|
||||
export const getTimeFormatStringFromUserTimeFormat = (timeFormat: number | null | undefined) => {
|
||||
export const getTimeFormatStringFromUserTimeFormat = (timeFormat: number | null | undefined): TimeFormat => {
|
||||
return timeFormat === 24 ? TimeFormat.TWENTY_FOUR_HOUR : TimeFormat.TWELVE_HOUR;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user