Skip to content

avantstay/format-date-range

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use it

formatDateRange('2018-09-10', '2018-09-15', 'en-US') // Sep 10-15, 2018
formatDateRange('2018-09-10', '2018-10-10', 'en-US') // Sep 10 - Oct 10, 2018
formatDateRange('2018-09-10', '2019-09-15', 'en-US') // Sep 10, 2018 - Sep 15, 2019

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published