How to use custom Date format?
Hi there,
i live in Germany and our Date Format ist dd.mm.yyyy.
It does not seem to be possible to use our Date Format instead of the american yyyy-mm-dd. Are there any best practices to use our Date Format?
If not, please feel free to interpret this issue as a feature request for an attribute md-date-format="dd.mm.yyyy". :)
Best Regards
same problem
i just want get date2015-07-20, not need UTC date 2015-07-19T16:00:00.000Z.
You can add filter : something like : {{ yourdate | date:"dd:MM:yyyy" }} See angularjs doc : https://docs.angularjs.org/api/ng/filter/date?PHPSESSID=cae8e98e7ca559b4605d75c813b358ee
use DatePicker and $mdDateLocaleProvider.