From f8d12f7b0d4af1b1769b89e80c87f9c169678564 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian@dold.me>
Date: Fri, 18 Mar 2022 15:32:41 +0100
Subject: wallet: t_s/d_us migration

---
 packages/anastasis-webui/src/pages/home/BackupFinishedScreen.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'packages/anastasis-webui/src/pages/home/BackupFinishedScreen.tsx')

diff --git a/packages/anastasis-webui/src/pages/home/BackupFinishedScreen.tsx b/packages/anastasis-webui/src/pages/home/BackupFinishedScreen.tsx
index 66473345f..d6272d843 100644
--- a/packages/anastasis-webui/src/pages/home/BackupFinishedScreen.tsx
+++ b/packages/anastasis-webui/src/pages/home/BackupFinishedScreen.tsx
@@ -35,9 +35,9 @@ export function BackupFinishedScreen(): VNode {
                 </a>
                 <p>
                   version {sd.policy_version}
-                  {sd.policy_expiration.t_ms !== "never"
+                  {sd.policy_expiration.t_s !== "never"
                     ? ` expires at: ${format(
-                        new Date(sd.policy_expiration.t_ms),
+                        new Date(sd.policy_expiration.t_s),
                         "dd-MM-yyyy",
                       )}`
                     : " without expiration date"}
-- 
cgit v1.2.3

