Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 2.0.0 #42

Merged
merged 2 commits into from
Dec 28, 2023

Conversation

gravity-ui-bot
Copy link
Contributor

@gravity-ui-bot gravity-ui-bot commented Dec 28, 2023

🤖 I have created a release beep boop

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)

This PR was generated with Release Please. See documentation.

@ValeraS ValeraS merged commit 7534665 into main Dec 28, 2023
2 checks passed
@ValeraS ValeraS deleted the release-please--branches--main--components--date-utils branch December 28, 2023 16:37
@gravity-ui-bot
Copy link
Contributor Author

a1eksandrk pushed a commit to a1eksandrk/date-utils that referenced this pull request Jan 19, 2024
* chore(main): release 2.0.0

---------

Co-authored-by: Valerii Sidorenko <balepas@yandex-team.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants