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

[@nativescript/datetimepicker] Bug in datetimepicker callback showing false date #568

Open
pap5508 opened this issue Jan 31, 2024 · 0 comments

Comments

@pap5508
Copy link

pap5508 commented Jan 31, 2024

Issue Summary:
The DateTimePicker in Android is exhibiting unexpected behavior when selecting a date in February. The callback is returning a date in the following month instead of the selected date.

Steps to Reproduce:

  1. Open the app. https://stackblitz.com/edit/nativescript-stackblitz-templates-knotdp?file=src%2Fapp%2Fitem%2Fitems.component.ts
  2. Click on the start date to open the DateTimePicker.
  3. Select any date in February.

Expected Behavior:
The callback should return the selected date accurately.

Actual Behavior:
The callback returns a date in the next month instead of the selected date.

@pap5508 pap5508 changed the title [@nativescript/datetimepicker] Bug in datetimepicker callback showing false date [@nativescript/datetimepicker] Bug in Android datetimepicker callback showing false date Jan 31, 2024
@pap5508 pap5508 changed the title [@nativescript/datetimepicker] Bug in Android datetimepicker callback showing false date [@nativescript/datetimepicker] Bug in datetimepicker callback showing false date Jan 31, 2024
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

1 participant