I’m extremely confused by the ion-datetime documentation. I’ve got some question which i hope someone can answer.
- Global settings. I would like to provide translations for months etc. but right now i have to give an array of names to every ion-datetime i’m using.
- ngModel. I’m not sure if i have to use ngModel or value to get the date from the datepicker. Also not sure where value is for.
- The value thats returned is an object containing day, month, year etc but the docs say it returns a iso string
- I use pickerOptions (which the docs dont even exist) too handle the done button but this causes the date to not be set after selecting so i have to provide a manual tick event. really weird.
Really stuck here so any help will be appreciated.
With best regards,