react-datetime icon indicating copy to clipboard operation
react-datetime copied to clipboard

respect strictParsing when using displayTimeZone

Open landbased opened this issue 2 years ago • 0 comments

Description

The strictParsing prop was being ignored when combined with the displayTimeZone prop. moment-timezone supports strict parsing so we should pass it in

Motivation and Context

bugfix

Checklist

[x] I have not included any built dist files (us maintainers do that prior to a new release)
[ ] 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

landbased avatar Aug 17 '22 10:08 landbased