How to override default button of a datetime picker

hi guys,
i have a date time picker

        <ion-label floating>Date</ion-label>
        <ion-datetime  displayFormat="MM/DD/YYYY" [(ngModel)]="birthday"></ion-datetime>

here the image


but i 'd like to change only the text of the default button “Done” and “Cancel”.how can i do? thanks in advice!


<ion-datetime displayFormat=“MM/DD/YYYY” [(ngModel)]=“birthday” cancelText="…" doneText="…">

Yes it works!thank you :wink: