Skip to content
New issue

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

isDate : iOS and Android return different results #2307

Open
thibaultadet opened this issue Oct 3, 2023 · 2 comments
Open

isDate : iOS and Android return different results #2307

thibaultadet opened this issue Oct 3, 2023 · 2 comments
Labels

Comments

@thibaultadet
Copy link

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 returns true on iOS but false 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

@JayanthBontha
Copy link

Couldn't reproduce

@jgulledge19
Copy link

Looks like this might be related or a duplicate of #2256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants