Skip to content

Latest commit

 

History

History
192 lines (88 loc) · 8.62 KB

CHANGELOG.md

File metadata and controls

192 lines (88 loc) · 8.62 KB

Changelog

2.5.5 (2024-10-30)

Bug Fixes

2.5.4 (2024-09-30)

Bug Fixes

  • dateTime: calculate ralative time via duration (#75) (8b8d132)
  • dateTimeParse: parse 0 as valid dateTime (#74) (8df988e)

2.5.3 (2024-06-10)

Bug Fixes

  • missing type: added export for DurationUnit type (#68) (75bdaef)

2.5.2 (2024-05-27)

Bug Fixes

  • DateTime: add missing formats and show ordinal values without brackets (#66) (dd9d942)

2.5.1 (2024-05-23)

Bug Fixes

  • locale: add formats to en locale (#64) (8e2025e)

2.5.0 (2024-05-23)

Features

  • DateTime: use own format and all dates math, remove unused dayjs plugins (#62) (72c210c)
  • Duration: add format method (#60) (aa0af56)

2.4.0 (2024-04-24)

Features

Bug Fixes

  • Duration: humanize should not depend on DST (#56) (9784b50)

2.3.0 (2024-04-15)

Features

  • custom parser for relative date input (#53) (6b23322)

2.2.0 (2024-04-08)

Features

  • DateTime: add helper to interpret input without timezone as utc time otherwise convert to utc (#50) (8de9d1d)

2.1.0 (2024-01-25)

Features

  • settings: replaces dynamic import with getting a ready static module loader (#46) (d9f46a8)

2.0.1 (2024-01-02)

Bug Fixes

  • DateTime: correctly calculate start of year (#43) (c902937)

2.0.0 (2023-12-28)

⚠ BREAKING CHANGES

  • dateTime: work with UTC the same as with other timezones, in case if input date does not contain timezone information
guessUserTimeZone() == 'Europe/Moscow';
 // Before
dateTime({input: '2023-12-31', timeZone: 'UTC') == '2023-12-31T00:00Z'
// After
dateTime({input: '2023-12-31', timeZone: 'UTC') == '2023-12-30T21:00Z'

Bug Fixes

  • dateTime: correctly works with timezones, utc offsets and DST (#41) (23488cc)

1.4.2 (2023-08-29)

Bug Fixes

  • dateTime: fix typings for utcOffset() (#33) (0559cf0)

1.4.1 (2023-05-22)

Bug Fixes

1.4.0 (2023-05-20)

Features

  • Settings: add getLocaleData method (#28) (746383e)

1.3.1 (2023-04-07)

Bug Fixes

1.3.0 (2023-03-28)

Features

Bug Fixes

1.2.0 (2023-03-17)

Features

1.1.3 (2023-02-13)

Bug Fixes

  • import only used functions from lodash (#16) (cd8e057)

1.1.2 (2023-02-08)

Bug Fixes

  • properly export types dependent on dayjs plugins (#14) (8445819)

1.1.1 (2023-02-01)

Bug Fixes

1.1.0 (2023-01-31)

Features

Bug Fixes

1.0.0 (2023-01-18)

Bug Fixes