From 3daf8157e54d5e7627f49b2d44b2a2883bd2324c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Gast=C3=B3n=20L=C3=B6wenstern?= Date: Mon, 22 Oct 2018 02:06:39 -0300 Subject: [PATCH] dates formatted https://angular.io/api/common/DatePipe#format-examples --- src/app/alarm/alarm.component.html | 2 +- src/app/list/event-dialog/event-dialog.component.html | 8 ++++---- src/app/list/list.component.html | 2 +- src/app/stats/stats.component.html | 2 +- src/app/users/users.component.html | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/alarm/alarm.component.html b/src/app/alarm/alarm.component.html index d1c77d6..e606e62 100644 --- a/src/app/alarm/alarm.component.html +++ b/src/app/alarm/alarm.component.html @@ -68,7 +68,7 @@

Alarms

Start date - {{ event.start }} + {{ event.start | date:'medium' }} diff --git a/src/app/list/event-dialog/event-dialog.component.html b/src/app/list/event-dialog/event-dialog.component.html index 06eda0b..431920d 100644 --- a/src/app/list/event-dialog/event-dialog.component.html +++ b/src/app/list/event-dialog/event-dialog.component.html @@ -7,16 +7,16 @@

Link to the event

link

Start date

-

{{ data.event.start }}

+

{{ data.event.start | date:'medium' }}

End date

-

{{ data.event.end }}

+

{{ data.event.end | date:'medium' }}

Created date

-

{{ data.event.created }}

+

{{ data.event.created | date:'medium' }}

Changed date

-

{{ data.event.changed }}

+

{{ data.event.changed | date:'medium' }}

Status

{{ data.event.status }}

diff --git a/src/app/list/list.component.html b/src/app/list/list.component.html index 8bf61a9..8c56c1a 100644 --- a/src/app/list/list.component.html +++ b/src/app/list/list.component.html @@ -82,7 +82,7 @@

Events

Start date - {{element.start}} + {{element.start | date:'medium' }} diff --git a/src/app/stats/stats.component.html b/src/app/stats/stats.component.html index 302e8b8..9063387 100644 --- a/src/app/stats/stats.component.html +++ b/src/app/stats/stats.component.html @@ -57,7 +57,7 @@

Start - {{ event.start }} + {{ event.start | date:'medium' }} diff --git a/src/app/users/users.component.html b/src/app/users/users.component.html index 6a914f5..368de66 100644 --- a/src/app/users/users.component.html +++ b/src/app/users/users.component.html @@ -62,7 +62,7 @@

Users

Last Access - {{element.lastAccess}} + {{element.lastAccess | date:'medium'}}