@softwareventures/date
TypeScript icon, indicating that this package has built-in type declarations

5.0.2 • Public • Published

date

An abstract date, with no associated time zone.

Why?

Use this type when you just want to represent a day, month and year in the Gregorian Calendar, and the timezone is either not relevant or represented elsewhere.

The native JavaScript Date type includes a time of day and timezone offset. These are a common source of errors in code that manipulates calendar dates, in particular off-by-one errors caused by date manipulations that cross daylight-savings boundaries.

Install

npm install --save @softwareventures/date

or

yarn add @softwareventures/date

Readme

Keywords

Package Sidebar

Install

npm i @softwareventures/date

Weekly Downloads

44

Version

5.0.2

License

ISC

Unpacked Size

87.9 kB

Total Files

9

Last publish

Collaborators

  • djcsdy