Skip to content

fix(deps): update dependency luxon to v2

Renovate-Bot requested to merge renovate/luxon-2.x into dev

This MR contains the following updates:

Package Type Update Change
luxon dependencies major ^1.21.3 -> ^2.0.0
@types/luxon devDependencies major ^1.21.0 -> ^2.0.0

Release Notes

moment/luxon

v2.4.0

Compare Source

  • Add support for parsing the ISO zone extension, like 2022-05-08T20:42:00.000+04:00[America/New_York"]
  • Add an extendedZone option to toISO() and toISOTime
  • Improvements to DateTime.isInDST()
  • Fix for parsing in Vietnames (and probably other languages)

v2.3.2

Compare Source

  • Fix timezone calculations for negative years
  • add week formatting token "w" for durations
  • fix weekday computation for years 0-100

v2.3.1

Compare Source

  • Added an includeOffsetSpace option to toSQL and toSQLTime
  • Added toUnixInteger
  • Don't use -0 when negating durations with zeros in them

v2.3.0

Compare Source

  • Major perf improvements to toISO(), toISODate(), toISOTime(), and toSQLDate()
  • Fixed date padding for negative years in toISO()
  • Added Duration#toHuman()

v2.2.0

Compare Source

  • Allow offsets to pick among ambiguous times when both an offset and zone are provided to fromFormat
  • Fix a floating point bug in Duration.shiftTo()

v2.1.1

Compare Source

  • Fix issue in quirky environments that lack hourCycle support and sometimes computed offsets 12 hours off

v2.1.0

Compare Source

  • Stop special casing of Etc/GMT* zones
  • export fromDurationLike
  • memoize zone validation
  • Support for fractional elements in duration ISO parsing
  • Added uu and uuu tokens for fractional millisecond parsing

v2.0.2

Compare Source

Fix locale defaulting

v2.0.1

Compare Source

v2.0.0

Compare Source

See Upgrading section


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this MR and you won't be reminded about these updates again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by Renovate-Bot

Merge request reports

Loading