Releases: gravity-ui/date-utils
Releases · gravity-ui/date-utils
v2.1.0
2.1.0 (2024-01-25)
Features
- settings: replaces dynamic import with getting a ready static module loader (#46) (d9f46a8)
v2.0.1
2.0.1 (2024-01-02)
Bug Fixes
- DateTime: correctly calculate start of year (#43) (c902937)
v2.0.0
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
1.4.2 (2023-08-29)
Bug Fixes
- dateTime: fix typings for utcOffset() (#33) (0559cf0)
v1.4.1
1.4.1 (2023-05-22)
Bug Fixes
v1.4.0
1.4.0 (2023-05-20)
Features
- Settings: add getLocaleData method (#28) (746383e)
v1.3.1
1.3.1 (2023-04-07)
Bug Fixes
v1.3.0
1.3.0 (2023-03-28)
Features
Bug Fixes
v1.2.0
1.2.0 (2023-03-17)
Features
v1.1.3
1.1.3 (2023-02-13)
Bug Fixes
- import only used functions from lodash (#16) (cd8e057)