Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/kenberkeley/fix-date
- Owner: kenberkeley
- Created: 2017-07-13T15:38:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-04T08:40:08.000Z (about 7 years ago)
- Last Synced: 2024-10-07T12:10:48.793Z (about 1 month ago)
- Topics: date, ie, invalid, js, parse, safari
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 41
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - fix-date - MM-dd HH:mm:ss` is `Invalid Date` in Safari, IE, etc (hijack Date) | kenberkeley | 40 | (JavaScript)
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 B1. `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