Ionic DateTime isse


#1

hi how are you

i have issue with date time css

i want change (done ) label to other word and the year to be on left side after the label

date

please help


#2

Hi,
To change (done) button add in your componnent doneText attribute like this

<ion-datetime displayFormat="MM/DD/YYYY" [(ngModel)]="myDate" doneText="موافق"></ion-datetime>

And for changing the direction try to use RTL direction

Read the doc https://ionicframework.com/docs/theming/rtl-support/


#3

and Cancel label

tank you alot bro


#4

For cancel label use cancelText
You can find all doc here https://ionicframework.com/docs/api/components/datetime/DateTime/