refactor: replace amDateFormat with new pipes

This commit is contained in:
Rainer Killinger
2021-06-16 16:59:24 +02:00
parent 4b932af1c0
commit 95b183b1bb
7 changed files with 37 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
<div *ngIf="origin.type === 'user'">
<p>{{ origin.created | amDateFormat: 'll' }}</p>
<p>{{origin.created | dateFormat}}</p>
</div>
<div *ngIf="origin.type === 'remote'">
<p>{{ origin.indexed | amDateFormat: 'll' }}</p>
<p>{{origin.indexed | dateFormat}}</p>
</div>