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

Date set is not equal to date selected in datepicker #2388

Open
Kabooommuc opened this issue Oct 31, 2022 · 1 comment
Open

Date set is not equal to date selected in datepicker #2388

Kabooommuc opened this issue Oct 31, 2022 · 1 comment

Comments

@Kabooommuc
Copy link

Expected Behavior

When I'm manipulating the date of planting, it opens a datepicker. When I click on a date, this date will be set as date I planted the plant.

Actual Behavior

Same as above, except the date I click on is not the date which is set.
The date set is the selected date -1

Steps to Reproduce

Add plant manually, should be "1 day old". Then edit the plant and select a new date.

@MrBlackGhostt
Copy link

Hi @Kabooommuc ,

I hope this message finds you well. I've been exploring the project and noticed issue #2388 with the date picker functionality when manipulating the planting date. Here are the details:

Issue:
When manipulating the date of planting, the date picker opens as expected. However, upon clicking on a date, the date set as the planting date is the selected date minus one day.

Steps to Reproduce:

Add a plant manually to make it "1 day old."
Edit the plant and select a new date for planting.
Expected Behavior:
The selected date should be set as the planting date without any modification.

Actual Behavior:
The date set is the selected date minus one day.

My proficiency in React, Redux toolkit and experience in similar projects position me well to address this discrepancy effectively.

Please assign this issue to me, and I'll promptly work on providing a fix.

Thank you for your attention, and I look forward to contributing to the project.

Best regards,
Hemant

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

2 participants