Hello, im new on this and i have a problem trying to show current day on datetime imput:
html file:
<ion-datetime
presentation="date"
[multiple]="true"
display-format="YYYY MMMM DD"
[(ngModel)]="newCron.fechas"
></ion-datetime>
TS:
newCron: any = {
id_sector:'',
fechas:[],
}
if i delete: [(ngModel)]=“newCron.fechas”
the calendar show actual day by default, but if don’t delete that, the calendar show by default an older date.
How can i solve this?
Thanks for your time!