Releases: softwareventures/date-time
Releases · softwareventures/date-time
v2.2.0
v1.2.1
v2.0.0
2.0.0 (2024-02-16)
⚠ BREAKING CHANGES
- latest: The
latest
functions now
throwError
if both specified DateTimes
contain numeric fields that are non-finite. - latest: The type parameters of the
latest
functions have been removed. These
functions now always either return a valid
DateTime or throw. - earliest: The
earliest
functions now
throwError
if both specified DateTimes
contain numeric fields that are non-finite. - earliest: The type parameters of the
earliest
functions have been removed. These
functions now always either return a valid
DateTime or throw.
Features
v1.2.0
v1.1.2
v1.1.1
v1.1.0
v1.0.0
1.0.0 (2024-01-26)
Features
- add constants representing each month (83b4ba0)
- after: add after function (83f4d1f)
- afterOrEqual: add afterOrEqual function (fdd99a4)
- before: add before function (91213cb)
- beforeOrEqual: add beforeOrEqual function (5e5c7f5)
- create project (a6b13b7)
- dateTime: add dateTime function (e94e427)
- DateTime: add DateTime type (ea3509a)
- dateTime: add normalize alias (e11285b)
- dateTime: add normalizeDateTime alias (7968efb)
- DateTimeOptions: add DateTimeOptions type (dc0f964)
- daysInMonth: add daysInMonth function (fb7298e)
- earliest: add earliest function (71c1dde)
- equal: add compare function (c13ad98)
- equal: add equal function (559428b)
- equal: add notEqual function (0c3fd95)
- fromReferenceSeconds: add fromReferenceSeconds function (fe7da65)
- isDateTime: add isDateTime function (c8b78f6)
- isLeapYear: add isLeapYear function (0a46ec4)
- isValid: add isDateTimeValid alias (31f19d6)
- isValid: add isValid function (1d5c69a)
- isValidDateTime: add isValidDateTime function (48cad53)
- latest: add latest function (37f5a00)
- nowDeviceLocal: add nowDeviceLocal function (63b7cdb)
- nowUtc: add nowUtc function (9787bbf)
- parseIso8601: add parseIso8601 function (2ea2f52)
- toReferenceSeconds: add toReferenceSeconds function (f4647db)
- validate: add validate function (fdd1cb8)
Bug Fixes
- apply lint fixes (a179ad7)