From 08f15cee2666d367aba57146b00e0a2b31301e02 Mon Sep 17 00:00:00 2001 From: cd1989 Date: Fri, 6 Sep 2019 17:48:54 +0800 Subject: [PATCH] Handle zero time in UI Signed-off-by: cd1989 --- .../replication-tasks/replication-tasks.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portal/lib/src/replication/replication-tasks/replication-tasks.component.html b/src/portal/lib/src/replication/replication-tasks/replication-tasks.component.html index 633f020e6..718d51222 100644 --- a/src/portal/lib/src/replication/replication-tasks/replication-tasks.component.html +++ b/src/portal/lib/src/replication/replication-tasks/replication-tasks.component.html @@ -110,7 +110,7 @@ {{t.operation}} {{t.status}} {{t.start_time | date: 'short'}} - {{t.end_time ? (t.end_time | date: 'short') : "-"}} + {{t.end_time && t.end_time != '0001-01-01T00:00:00Z' ? (t.end_time | date: 'short') : "-"}}