From 96d9ea3840626f71efe38018b75748d8338565fa Mon Sep 17 00:00:00 2001
From: Florian Dold <florian@dold.me>
Date: Fri, 26 May 2023 13:52:00 +0200
Subject: taler-util,wallet-core: make AbsoluteTime opaque

---
 packages/taler-wallet-webextension/src/wallet/History.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'packages/taler-wallet-webextension/src/wallet/History.tsx')

diff --git a/packages/taler-wallet-webextension/src/wallet/History.tsx b/packages/taler-wallet-webextension/src/wallet/History.tsx
index 300f385ea..0ea0f8da1 100644
--- a/packages/taler-wallet-webextension/src/wallet/History.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/History.tsx
@@ -15,6 +15,7 @@
  */
 
 import {
+  AbsoluteTime,
   Amounts,
   Balance,
   NotificationType,
@@ -261,7 +262,7 @@ export function HistoryView({
               <Fragment key={i}>
                 <DateSeparator>
                   <Time
-                    timestamp={{ t_ms: Number.parseInt(d, 10) }}
+                    timestamp={AbsoluteTime.fromMilliseconds(Number.parseInt(d, 10))}
                     format="dd MMMM yyyy"
                   />
                 </DateSeparator>
-- 
cgit v1.2.3

