Skip to content

Releases: janrg/badiDate

v3.0.0

15 Aug 22:18

Choose a tag to compare

  • Switched to using Luxon instead of moment-timezone.
  • Changed all accessors to get() attributes
  • Added the properties invalidReason, nextDay, nextMonth, previousDay, previousMonth to the BadiDate class
  • Added the equals() method to the BadiDate class
  • Added the properties clockLocation, latitude, longitude, nextDay, nextMonth, previousDay, previousMonth,
    timezoneId to the LocalBadiDate class
  • Some bugfixes

Breaking Changes:

  • Inputs and outputs are now Luxon DateTime objects instead of moment objects
  • Arrays and date strings can no longer be used in the constructors.
  • Browser support for browsers not supported by Luxon dropped. Any reasonably modern
    browser will work. No version of IE is supported.
  • Changed all accessors to get() attributes

v2.1.2

26 Jan 14:31

Choose a tag to compare

  • Switch to moment global
  • use mocha for tests
  • update dependencies

v2.1.1

17 Aug 13:45

Choose a tag to compare

Updated dependencies, fixed localized label cropping, fixed imports for node usage

v2.1.0

10 Jun 18:27

Choose a tag to compare

  • Added several new tokens to BadiDate.format()
  • More robust handling of locale entries with underlined letters
  • Improvements to handling of Arabic and Farsi locales