Skip to content

Releases: gravity-ui/date-utils

v2.1.0

25 Jan 15:07
986b63f
Compare
Choose a tag to compare

2.1.0 (2024-01-25)

Features

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

v2.0.1

02 Jan 22:28
174ae2a
Compare
Choose a tag to compare

2.0.1 (2024-01-02)

Bug Fixes

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

v2.0.0

28 Dec 16:38
7534665
Compare
Choose a tag to compare

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)

v1.4.2

29 Aug 08:59
aa10341
Compare
Choose a tag to compare

1.4.2 (2023-08-29)

Bug Fixes

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

v1.4.1

22 May 10:08
70a6d04
Compare
Choose a tag to compare

1.4.1 (2023-05-22)

Bug Fixes

v1.4.0

22 May 08:43
aac5997
Compare
Choose a tag to compare

1.4.0 (2023-05-20)

Features

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

v1.3.1

07 Apr 15:05
0278321
Compare
Choose a tag to compare

1.3.1 (2023-04-07)

Bug Fixes

v1.3.0

28 Mar 12:33
be1aad1
Compare
Choose a tag to compare

1.3.0 (2023-03-28)

Features

Bug Fixes

v1.2.0

17 Mar 11:43
2975cd5
Compare
Choose a tag to compare

1.2.0 (2023-03-17)

Features

v1.1.3

13 Feb 11:38
02ca66f
Compare
Choose a tag to compare

1.1.3 (2023-02-13)

Bug Fixes

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