From 335d22b12b3d8ed1a14d39bf8ca17faade9ca34c Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Tue, 10 Jan 2023 17:11:34 -0300
Subject: when as number instead of string, fix codec used before declaration,
 pretty

---
 .../taler-wallet-webextension/src/wallet/ProviderDetail.stories.tsx   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/packages/taler-wallet-webextension/src/wallet/ProviderDetail.stories.tsx b/packages/taler-wallet-webextension/src/wallet/ProviderDetail.stories.tsx
index 08f26438f..24df3dc79 100644
--- a/packages/taler-wallet-webextension/src/wallet/ProviderDetail.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/ProviderDetail.stories.tsx
@@ -19,7 +19,7 @@
  * @author Sebastian Javier Marchano (sebasjm)
  */
 
-import { TalerProtocolTimestamp } from "@gnu-taler/taler-util";
+import { AbsoluteTime, TalerProtocolTimestamp } from "@gnu-taler/taler-util";
 import { ProviderPaymentType } from "@gnu-taler/taler-wallet-core";
 import { tests } from "@gnu-taler/web-util/lib/index.browser";
 import { ProviderView as TestedComponent } from "./ProviderDetailPage.js";
@@ -79,7 +79,7 @@ export const ActiveErrorSync = tests.createExample(TestedComponent, {
     lastError: {
       code: 2002,
       details: "details",
-      when: new Date().toISOString(),
+      when: AbsoluteTime.now(),
       hint: "error hint from the server",
       message: "message",
     },
-- 
cgit v1.2.3

