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

Android not support below 1970 years #835

Open
mhd-shagul opened this issue Nov 9, 2023 · 9 comments
Open

Android not support below 1970 years #835

mhd-shagul opened this issue Nov 9, 2023 · 9 comments

Comments

@mhd-shagul
Copy link

Bug report

@mhd-shagul
Copy link
Author

IOS supported below 1970 years android not supported below 1970 how fix it

@bolatovumar
Copy link

bolatovumar commented Nov 10, 2023

I'm seeing the same issue on a Pixel 4 with version 7.6.0.

@mhd-shagul you can work around this issue by setting mininumDate={new Date(1900, 0, 1)} or some other date that's low enough. You can also downgrade the library to an earlier version (I know 7.4.2 doesn't have this bug for sure).

@bolatovumar
Copy link

I did some more testing and looks like this bug was introduced in version 7.5.0 in this PR: #744.

The bug doesn't reproduce in 7.4.2.

@elkinjosetm
Copy link

I'm having the same issue on 7.6.0, any updates, besides the workaround?

@itsaliraxa
Copy link

I'm seeing the same issue on a Pixel 4 with version 7.6.0.

@mhd-shagul you can work around this issue by setting mininumDate={new Date(1900, 0, 1)} or some other date that's low enough. You can also downgrade the library to an earlier version (I know 7.4.2 doesn't have this bug for sure).

I've set the version to 7.4.2 and it's working but the minimum year is 1900. Can we go below to this year as we are in IOS?

@BakkerTom
Copy link

I'm bumping this issue, as it is still a thing in version 7.6.4. The workaround does its job, but it is weird that we still need it in the first place. Any updates?

@yasserelmalouani
Copy link

yasserelmalouani commented Jun 19, 2024

I'm seeing the same issue on a Pixel 4 with version 7.6.0.

@mhd-shagul you can work around this issue by setting mininumDate={new Date(1900, 0, 1)} or some other date that's low enough. You can also downgrade the library to an earlier version (I know 7.4.2 doesn't have this bug for sure).

This mininumDate tip helped me to resolve the problem.
Thank you

@shafqatbari
Copy link

+1

@JerLord04
Copy link

I'm seeing the same issue on a Pixel 4 with version 7.6.0.

@mhd-shagul you can work around this issue by setting mininumDate={new Date(1900, 0, 1)} or some other date that's low enough. You can also downgrade the library to an earlier version (I know 7.4.2 doesn't have this bug for sure).

I try your way it's worked for android but when i need to build iOS that's fail.

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

No branches or pull requests

8 participants