fix: use localized date and time

This commit is contained in:
Michel Jonathan Schmitz
2021-02-09 16:59:50 +00:00
committed by Wieland Schöbl
parent 8280917312
commit 6ca0b97637
12 changed files with 17 additions and 47 deletions

View File

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