Skip to content

Releases: lwileczek/dateonly

v0.1.5

25 Oct 21:04
1c3d968
Compare
Choose a tag to compare

Fixed

  • toISOString() properly creates string

Change

  • When create a new date if the year is in the interval [0, 100) then it is assumed to be in the 1900s. This can be overwritten with setFullYear()

Full Changelog: v0.1.3...v0.1.5

v0.1.3

25 Oct 20:07
c926d11
Compare
Choose a tag to compare

Changelog

Changed

  • Export the library as to work with ESM

Full Changelog: v0.1.2...v0.1.3

v0.1.2

25 Oct 19:30
b039229
Compare
Choose a tag to compare

First Release

Added

  • class to hold and mange dates
  • methods to set/get the year, month, and date
  • Static methods to create new instances from strings, dates, and numbers
  • Methods to print the DateOnly object as a string, convert to string, or toJSON

Full Changelog: https://github.com/lwileczek/dateonly/commits/v0.1.2