Skip to content

A Node Module for formatting date ranges as a human might write them.

License

Notifications You must be signed in to change notification settings

joabetc/nm-human-date-range

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nm-human-date-range

A Node Module for formatting date ranges as a human might write them.

Technologies/Languages

Usage

Use either require or import.

Sample:

var humanDateRange = require("nm-human-date-range");

var hDateRange = humanDateRange({
      startDate: new Date(2017, 0, 1),
      endDate: new Date(2017, 0, 6)
      });

Or if you prefer you can play around with RunKit or even play bit with it on StackBlitz

About

A Node Module for formatting date ranges as a human might write them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published