Skip to content

Commit 55b060a

Browse files
committed
Use browser date format
1 parent 9f347d1 commit 55b060a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • extensions/ql-vscode/src/pure

extensions/ql-vscode/src/pure/date.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
* Contains an assortment of helper constants and functions for working with dates.
33
*/
44

5-
const dateWithoutYearFormatter = new Intl.DateTimeFormat('en', {
5+
const dateWithoutYearFormatter = new Intl.DateTimeFormat(undefined, {
66
month: 'short',
77
day: 'numeric',
88
hour: 'numeric',
99
minute: '2-digit',
1010
});
1111

12-
const dateFormatter = new Intl.DateTimeFormat('en', {
12+
const dateFormatter = new Intl.DateTimeFormat(undefined, {
1313
year: 'numeric',
1414
month: 'short',
1515
day: 'numeric',

0 commit comments

Comments
 (0)