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

Dates Stuck in 2020 - Not accurate #924

Closed
ajkraus04 opened this issue Aug 10, 2024 · 1 comment
Closed

Dates Stuck in 2020 - Not accurate #924

ajkraus04 opened this issue Aug 10, 2024 · 1 comment

Comments

@ajkraus04
Copy link

Bug report

Summary

I am getting an issue where the date output is incorrect and set in 2020. Is this a bug or am I misusing the library?

This is the output of the selectedDate:
2020-08-21T23:17:30.000Z

Reproducible sample code

Steps to reproduce

Describe what you expected to happen:

Environment info

npx react-native info output:

# paste it here

Time zone name (If the problem you have is related to unexpected time / date. See list in https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).

datetimepicker version: x.x.x

iOS / Android version: x.x

Copy link

👋 @ajkraus04, sorry you're having an issue. This issue is being closed because it does not provide all information required by the issue template. As the issue template explains, we require that you provide a runnable example that reproduces your issue and your environment information. This means you need to provide a code snippet that we can copy-paste into an empty project and see the error ourselves, or provide a git repository with the issue.
The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug.
Please create a new issue with this and we'll be happy to review it!

@github-actions github-actions bot locked and limited conversation to collaborators Aug 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants