Human readable date with Angular


Forgive me if this is a simple question, I’m new to Ionic 4 and to Angular

I’m receiving a datetime from API in this format (2019-03-09 15:47:18), I know this is a UTC timezone, the question how can I display it in the user local timezone with Human readable format?

<ion-note class=“ion-float-end”>{{notification.created_at | date:‘full’}}</ion-note>

This will display the date but in UTC format and I couldn’t find any option with “angular date” to display it

if you can please guide me, I’m still learning Ionic with Angular.


See: date-fns