Skip to content
/ date Public

A minimal utility library for formatting dates.

Notifications You must be signed in to change notification settings

axhxrx/date

Repository files navigation

@axhxrx/date

A minimal utility library for formatting dates. Example:

const backThen = dateToFormat('YYYY-MM-DD', new Date('1975-01-01T02:00:00Z'));
// '1975-01-01'

const rightNow = dateToFormat('YYYY-MM-DD');
// same thing, only later in time...

About

A minimal utility library for formatting dates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published