plugins
plugins copied to clipboard
[@nativescript/datetimepicker] Bug in datetimepicker callback showing false date
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:
- Open the app. https://stackblitz.com/edit/nativescript-stackblitz-templates-knotdp?file=src%2Fapp%2Fitem%2Fitems.component.ts
- Click on the start date to open the DateTimePicker.
- 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.