Skip to content

Releases: softwareventures/date-time

v2.2.0

18 May 09:55
04b76d2
Compare
Choose a tag to compare

2.2.0 (2024-05-18)

Features

  • deps: add support for @softwareventures/date v5 (2bc6856)

Bug Fixes

  • compatibility with npm >= 10.4 (8edae14)

v1.2.1

18 May 09:51
1d26ebf
Compare
Choose a tag to compare

1.2.1 (2024-05-18)

Bug Fixes

  • compatibility with npm >= 10.4 (8edae14)

v2.0.0

16 Feb 05:01
0b4063a
Compare
Choose a tag to compare

2.0.0 (2024-02-16)

⚠ BREAKING CHANGES

  • latest: The latest functions now
    throw Error 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
    throw Error 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

  • earliest: normalize DateTime before returning result (dca17a6)
  • latest: normalize DateTime before returning result (0b4063a)

v1.2.0

16 Feb 08:51
2bc6856
Compare
Choose a tag to compare

1.2.0 (2024-02-16)

Features

  • deps: add support for @softwareventures/date v5 (2bc6856)

v1.1.2

16 Feb 04:01
803cf1f
Compare
Choose a tag to compare

1.1.2 (2024-02-16)

v1.1.1

15 Feb 14:28
c6b682c
Compare
Choose a tag to compare

1.1.1 (2024-02-15)

v1.1.0

26 Jan 21:19
aeca48f
Compare
Choose a tag to compare

1.1.0 (2024-01-26)

Features

  • formatHumanIso8601: add formatHumanIso8601 function (aeca48f)
  • formatIso8601: add formatIso8601 function (aafe1c1)

v1.0.0

26 Jan 19:50
a179ad7
Compare
Choose a tag to compare

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