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'