toLocaleString broken on Chrome 88 on Android 7.1

Viewed 168

I have just found that on Chrome 88 using my Windows 10, that toLocaleString is working correctly. However, on my android galaxy tab 2 i am getting an 'invalid date' This is my code - https://jsfiddle.net/6o7L08df/3/

var myDate = new Date();
var x = myDate.toLocaleString('en-US', {timeZone: "Australia/Sydney"});
alert(new Date(myDate.toLocaleString('en-US', { timeZone: "Australia/Sydney" })));

Any ideas how to get around this?

1 Answers
Related