Skip to content

Releases: softwareventures/time

v3.1.2

18 May 09:19
b565592

Choose a tag to compare

3.1.2 (2024-05-18)

Bug Fixes

  • compatibility with npm >= 10.4 (b565592)

v3.1.1

26 Jan 19:37
9e2463a

Choose a tag to compare

3.1.1 (2024-01-26)

Bug Fixes

  • parseIso8601: accept comma as decimal delimiter per ISO 8601 and RFC 3339 (0b9da91)
  • parseIso8601: accept lower-case "t" delimiter in place of "T" per ISO 8601 and RFC3339 (1b8a941)

v3.1.0

26 Jan 18:17
400ac48

Choose a tag to compare

3.1.0 (2024-01-26)

Features

  • fromReferenceSeconds: add timeFromReferenceSeconds alias (400ac48)
  • toReferenceSeconds: add timeToReferenceSeconds alias (8aac2b5)

v3.0.0

26 Jan 04:50
49a2281

Choose a tag to compare

3.0.0 (2024-01-26)

⚠ BREAKING CHANGES

  • The discriminator string has
    changed from "time" (lowercase) to "Time" (capital
    "T"). This change will break for consumers who check
    the discriminator directly (for example to
    discriminate from other types in a union) or who
    serialize and deserialize Time objects with the
    discriminator intact.
  • node: node versions < 18, 19 are no longer
    supported.

Features

  • change discriminator string from "time" to "Time" (49a2281)
  • node: drop support for node < 18, 19 (b103f8d)

v2.2.1

26 Jan 19:29
ad922f9

Choose a tag to compare

2.2.1 (2024-01-26)

Bug Fixes

  • parseIso8601: accept comma as decimal delimiter per ISO 8601 and RFC 3339 (ad922f9)
  • parseIso8601: accept lower-case "t" delimiter in place of "T" per ISO 8601 and RFC3339 (157492e)

v2.2.0

26 Jan 04:48
55cc719

Choose a tag to compare

2.2.0 (2024-01-26)

Features

  • formatHumanIso8601: add formatHumanIso8601 function (55cc719)
  • formatIso8601: add formatIso8601 function (66ecd1c)

v2.1.0

25 Jan 19:57
036d89d

Choose a tag to compare

2.1.0 (2024-01-25)

Features

  • isValidTime: add isValidTime function (6a2bdfb)
  • time: add normalizeTime alias for time (c13e6e8)
  • time: add parseIso8601 function (036d89d)
  • validate: add validate function (103f74f)

Bug Fixes

  • isValid: if the value has a "type" field, verify it has the correct value (759d958)

v2.0.2

22 Nov 16:44
6c19b63

Choose a tag to compare

2.0.2 (2022-11-22)

Bug Fixes

  • deps: update dependency is-integer-in-range to v4 (#135) (6c19b63)

v2.0.1

18 Nov 13:17
18d0748

Choose a tag to compare

2.0.1 (2022-11-18)

Bug Fixes

  • deps: update dependency @softwareventures/ordered to v2 (#131) (68fe107)

v2.0.0

18 Nov 13:08

Choose a tag to compare

2.0.0 (2022-11-18)

⚠ BREAKING CHANGES

  • node: node version 17 is no longer supported.

Features

  • node: drop support for node 17 (19df7ba)