macOS: Add support for 12/24-hour time display preferences
This commit is contained in:
parent
88858af144
commit
1143c0e9ba
17 changed files with 208 additions and 14 deletions
|
@ -9,6 +9,7 @@ const { usernames } = require('@signalapp/libsignal-client');
|
|||
|
||||
const { Crypto } = require('../ts/context/Crypto');
|
||||
const { setEnvironment, Environment } = require('../ts/environment');
|
||||
const { HourCyclePreference } = require('../ts/types/I18N');
|
||||
|
||||
chai.use(chaiAsPromised);
|
||||
|
||||
|
@ -35,6 +36,7 @@ global.window = {
|
|||
put: async (key, value) => storageMap.set(key, value),
|
||||
},
|
||||
getPreferredSystemLocales: () => ['en'],
|
||||
getHourCyclePreference: () => HourCyclePreference.UnknownPreference,
|
||||
};
|
||||
|
||||
// For ducks/network.getEmptyState()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue