Date Object and Safari – It’s Complicated

Most browsers will accept an input parameter for the date object at instantiation that will take the following format:

Nothing wrong with that right? standard ISO surely? Well Safari doesn’t like it. To get round this, you need to make sure that the date object is setup in the following format:

As soon as you do this, Safari is happy. So keep this in mind when working with dates and you need Safari compatibility!

Date Object and Safari – It’s Complicated

Leave a Reply

%d bloggers like this: