Sunday 15 June 2014

Polyfill for new Date in javascript -



Polyfill for new Date in javascript -

in chromium:

new date("10.10.2010") // sun oct 10 2010 00:00:00 gmt+0400 (eest)

in firefox:

new date("10.10.2010") // invalid date

how can polyfill constructor in firefox , ie? maybe should utilize other approach?

javascript date datepicker

No comments:

Post a Comment