We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21eabc2 commit 1241ce9Copy full SHA for 1241ce9
extensions/ql-vscode/src/pure/date.ts
@@ -2,14 +2,14 @@
2
* Contains an assortment of helper constants and functions for working with dates.
3
*/
4
5
-const dateWithoutYearFormatter = new Intl.DateTimeFormat(undefined, {
+const dateWithoutYearFormatter = new Intl.DateTimeFormat('en-US', {
6
month: 'short',
7
day: 'numeric',
8
hour: 'numeric',
9
minute: '2-digit',
10
});
11
12
-const dateFormatter = new Intl.DateTimeFormat(undefined, {
+const dateFormatter = new Intl.DateTimeFormat('en-US', {
13
year: 'numeric',
14
15
0 commit comments