fix-date

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
fix-date
3911.1.65 years ago5 years agoMinified + gzip package size for fix-date in KB

Readme

fix-date
!npm versionnpm-v-imgnpm-url !npm downloadnpm-dl-imgnpm-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
  1. import 'fix-date' // or require('fix-date') at the beginning
  1. no more, that's it!
You can also use it with <script src="fix-date.min.js"></script>