We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I'm using React Native with Expo. I use isDate. The function behaves differently between iOS and Android platform.
isDate
Examples When I check isDate("2023-09-12") it returns true on iOS but false on Android. Same for other dates with - or /.
isDate("2023-09-12")
true
false
-
/
Additional context Validator.js version: 13.9.0 Node.js version: v16.18.1 OS platform: Android & iOS React: "18.2.0" React-native: "0.71.8" Expo version: 48.0.17
The text was updated successfully, but these errors were encountered:
Couldn't reproduce
Sorry, something went wrong.
Looks like this might be related or a duplicate of #2256
No branches or pull requests
Describe the bug
I'm using React Native with Expo.
I use
isDate
. The function behaves differently between iOS and Android platform.Examples
When I check
isDate("2023-09-12")
it returnstrue
on iOS butfalse
on Android.Same for other dates with
-
or/
.Additional context
Validator.js version: 13.9.0
Node.js version: v16.18.1
OS platform: Android & iOS
React: "18.2.0"
React-native: "0.71.8"
Expo version: 48.0.17
The text was updated successfully, but these errors were encountered: