thomascharbit / date-fromiso

Polyfill to read ISO formatted date in JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Polyfill to read ISO formatted date in JS


Languages

Language:JavaScript 100.0%