Skip to content

Releases: letam/react-datetime

Import from `moment-timezone` directly

14 Jul 23:57
Compare
Choose a tag to compare

Change the library to explicitly import from moment-timezone as opposed to assuming that the imported moment library is implicitly patched with the timezone functionality elsewhere.
This fixes the library so that it runs properly in modern browsers with native import syntax, including building with Vite.