macOS: Add support for 12/24-hour time display preferences

This commit is contained in:
Jamie Kyle 2023-07-31 09:23:19 -07:00 committed by GitHub
parent 88858af144
commit 1143c0e9ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 208 additions and 14 deletions

View file

@ -105,6 +105,9 @@ export function setupI18n(
localizer.getLocaleDirection = () => {
return window.getResolvedMessagesLocaleDirection();
};
localizer.getHourCyclePreference = () => {
return window.getHourCyclePreference();
};
return localizer;
}