I'm using Intl.DateTimeFormat to format dates and I noticed that different browsers produce different results.
I used the following code to format date with Estonian locale:
new Intl.DateTimeFormat("et").format(new Date(2017,0,2))
Results I got:
- Edge HTML 14.14393: 02.01.2017
- Chrome 55.0.2883.87 m (Windows): 2.1.2017
- Chrome Beta 56.0.2924.59 (Android): 2017-1-2
I'm quite unhappy with the result because I was hoping similar output. Why these differences exist and is it normal (expected)?
With locale en each browser gave same result (1/2/2017).