/date-fromiso

Polyfill to read ISO formatted date in JS

Primary LanguageJavaScript

date-fromiso

Polyfill to read ISO formatted date in JS.

Usage

var start_time = '2012-06-24T17:00:00-07:00';
var d =  Date.fromISO(start_time);

Credit

Credit goes to kennebec - http://stackoverflow.com/a/6229473/632487