fix-date

1.1.6 • Public • Published

fix-date

npm version npm download

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 <script src="fix-date.min.js"></script>

Package Sidebar

Install

npm i fix-date

Weekly Downloads

1,559

Version

1.1.6

License

MIT

Last publish

Collaborators

  • kenberkeley