Skip to content

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

Notifications You must be signed in to change notification settings

kenberkeley/fix-date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published