arqex / react-datetime

A lightweight but complete datetime picker react component.
1.99k stars 873 forks source link

Fix typo #777

Open moriyoshi opened 3 years ago

moriyoshi commented 3 years ago

Description

There is a bug that changing displayTimeZone doesn't get the component rerendered.

Motivation and Context

Checklist

[x] I have not included any built dist files (us maintainers do that prior to a new release)
[x] I have added tests covering my changes
[x] All new and existing tests pass
[ ] My changes required the documentation to be updated
  [ ] I have updated the documentation accordingly
  [ ] I have updated the TypeScript 1.8 type definitions accordingly
  [ ] I have updated the TypeScript 2.0+ type definitions accordingly