react-datetimezone
TypeScript icon, indicating that this package has built-in type declarations

0.1.42 • Public • Published

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

/react-datetimezone/

    Package Sidebar

    Install

    npm i react-datetimezone

    Weekly Downloads

    0

    Version

    0.1.42

    License

    MIT

    Unpacked Size

    1.13 MB

    Total Files

    16

    Last publish

    Collaborators

    • floydpraveen