0.1.42 • Published 4 years ago
react-datetimezone v0.1.42
react-datetimezone
React datetime input component with timezones.
motivation
Usually datetime inputs always restricted to the user's timezone. But there are use cases where users want to select a datetime based on other timezones. For e.g. booking a hotel in other country/city, or booking a return flight from other country/city or running a campaign ( our use case) Building this component on your own takes a while with figuring out date and timezone conversion. This component does all these things for you. This component helps the user to enter datetime in the timezone they like.
todo
- Replace moment with an better alternative
- Ability to pass different set of timezones (for e.g. relative timezones)
- User of the component should be able to set the styles (something like react-select)
- Add more stories
- Add tests
- Setup CI
- Suggest better name for the component