Skip to content

LocalizedTime - Fix Formatting for Timezone-free Dates - Final

Choose a tag to compare

@utku-ozturk utku-ozturk released this 25 Mar 20:47
· 12 commits to master since this release
409000f

Neutralize date-fns's UTC adjustments for date time input lacks timezone.

For instance, if we have string literal 2025-01-01 as input and need to display it as 2025-01-01 using LocalizedTime, it is displayed as 2024-12-31 in GMT- time zones, whereas in GMT+ time zones it remains 2025-01-01. Even though the represented datetime object is correct, the displayed date misleads users, particularly in facet date range components.

What's Changed

Full Changelog: 0.1.94...0.1.95