angularjs - angular input[date] ng-model format -


when use input[date] in angular, input format dd/mm/yyyy value of ng-model in format yyyy-mm-dd.

is possible change format of value dd/mm/yyyy?

<input type="date" ng-model="date" class="dateinput"/> 

you can use angular-ui-mask change format [dd/mm/yyyy] ui-mask='99/99/9999'.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -