D
D
Denis Bukreev2016-07-03 11:40:23
JavaScript
Denis Bukreev, 2016-07-03 11:40:23

In safari, the script does not work correctly, in other browsers it is normal, why?

Good day.
There is a script that takes a value from the page, performs operations with it and inserts ready-made numbers back onto the page - a timer, you can see it here: euromade.bookreev.com

The problem is that in safari it returns NaN values ​​to me, but in the same chrome is fine.
1b117a6c9a45462686990c9985db87d2.png9f85fd510eb54450a9bf1e7e7b2828ba.png

Here is the script on Codepen

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Bukreev, 2016-07-03
@denisbookreev

Issue resolved
Date format was written 07 09 2016 23:59:59
Fixed to July 09 2016 23:59:59and everything worked
But it's interesting to know why safari responds to this and other browsers don't.
If someone can give some comment, I will be grateful

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question