Closed shapebuster closed 7 months ago
Some screenshots:
The original date-time string was provided by the server (preflled)
If I then press "done", the time changes to 1.30am
If I re open it and change it to 10:30am, both then match
Thanks for the issue! This issue has been labeled as needs reproduction
. This label is added to issues that need a code reproduction.
Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.
If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.
For a guide on how to create a good reproduction, see our Contributing Guide.
Thanks for the issue! This issue is being closed due to the lack of a code reproduction. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Thank you for using Ionic!
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
If i have a date and time field with a prefilled date and time (eg i'm reporting that an event took place at 2pm on 20th Feb 2024). If i select the field, the time inside the picker shows the current time.
Expected Behavior
Time inside the picker should reflect what is in the field so that it can be adjusted from the previously saved value. In this example the time inside the picker should show 2pm when the field is clicked.
Steps to Reproduce
Prefill a ion-datetime field with a value in the past. Select the field and view the time inside the date/time picker
Code Reproduction URL
No response
Ionic Info
v7 angular 15
Additional Information
No response