Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70443

Human readable date with Angular

$
0
0

@ahmadt wrote:

Hello

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.

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70443

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>