Hello.
This is the obtained date format: 2022-07-23T19:53:00-03:00. But I need the format like this: dd-mm-YYYYTHH:mm
but the atribute displayFormat is not supported any more.
const SeleccionarFecha = ( ) => {
const [fecha, setFecha]=useState <string> ("")
console.log(fecha)
return (
<IonDatetime locale="es-ES" onIonChange={e => setFecha(e.detail.value!)}>
<span slot="time-label">Tiempo</span>
</IonDatetime>
);
}
There are other way that implements date-fns-tz?