arcnovus / wet-boew-x

wbr-docs.vercel.app
2 stars 3 forks source link

DatePicker Min and Max Date are malformed in Chrome Browser #40

Closed arcdev1 closed 1 year ago

arcdev1 commented 1 year ago

In Chrome on windows passing a min or max date to the DatePicker component causes WET form validation to trigger an error because, for some reason, the Chrome browser (Chromium) does not respect the "en-CA" locale passed to toLocaleString

EDIT: There is an open Chromium bug about this issue: https://bugs.chromium.org/p/chromium/issues/detail?id=1414785