Created
August 24, 2017 12:20
-
-
Save mateusduraes/6f74b5c186848d5614ab1519709871e6 to your computer and use it in GitHub Desktop.
A way to use ion-datetime to display data in brazilian format.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-datetime | |
displayFormat="DD/MM/YYYY" | |
pickerFormat="DD/MMM/YYYY" | |
formControlName="dtBirth" | |
cancelText="Cancelar" | |
doneText="Ok" | |
monthShortNames='JAN, FEV, MAR, ABR, MAI, JUN, JUL, AGO, SET, OUT, NOV, DEZ'> | |
</ion-datetime> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment