1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

All: Add additional time format HH.mm (#6086)

This commit is contained in:
Vincent Jo
2022-02-03 10:52:24 -08:00
committed by GitHub
parent e3c9bcbec6
commit 288ae1b463
2 changed files with 4 additions and 1 deletions

View File

@@ -39,10 +39,11 @@ describe('dateFormats', function() {
// TIME_FORMAT_1 = 'HH:mm';
// TIME_FORMAT_2 = 'h:mm A';
// TIME_FORMAT_3 = 'HH.mm';
expect(time.formatMsToLocal(now, Setting.TIME_FORMAT_1)).toBe('20:30');
expect(time.formatMsToLocal(now, Setting.TIME_FORMAT_2)).toBe('8:30 PM');
expect(time.formatMsToLocal(now, Setting.TIME_FORMAT_3)).toBe('20.30');
}));
});