I would like to show the user also the weekday when he selects a date. It should have the following format: Tue, 06 06 2017
I tried the following: <ion-datetime pickerFormat="DDD, D MM YYYY"></ion-datetime>
but it only shows this format: 06 06 2017, without the weekday.
How can I display the weekday in ion-datetime picker?
// does not support selecting by day name
// automaticallly remove any day name formats
template = template.replace('DDDD', '{~}').replace('DDD', '{~}');
I’m not sure, but it seems you can now use a pipe out of anything with ionic 3 quite fully updated. The other day I converted a unix date directly in the template view, with zero-hassle: