Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kenberkeley/fix-date

Solution for `yyyy-MM-dd HH:mm:ss` is `Invalid Date` in Safari, IE, etc (hijack Date)
https://github.com/kenberkeley/fix-date

date ie invalid js parse safari

Last synced: about 12 hours ago
JSON representation

Solution for `yyyy-MM-dd HH:mm:ss` is `Invalid Date` in Safari, IE, etc (hijack Date)

Awesome Lists containing this project

README

        

# `fix-date`

[![npm version][npm-v-img]][npm-url]
[![npm download][npm-dl-img]][npm-url]

> Solution for `yyyy-MM-dd HH:mm:ss` is `Invalid Date` in Safari, IE, etc
> No dependencies, min + gzip = 280 B

1. `npm i -S fix-date`
2. `import 'fix-date' // or require('fix-date') at the beginning`
3. no more, that's it!

> You can also use it with ``

[npm-url]: https://www.npmjs.com/package/fix-date
[npm-v-img]: http://img.shields.io/npm/v/fix-date.svg
[npm-dl-img]: http://img.shields.io/npm/dm/fix-date.svg