diff options
author | Sebastian <sebasjm@gmail.com> | 2023-01-10 17:11:34 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-01-11 15:30:14 -0300 |
commit | 335d22b12b3d8ed1a14d39bf8ca17faade9ca34c (patch) | |
tree | b70fa6cb38fdd0951287da17b51671497cce7678 /packages/taler-wallet-webextension/src/wallet/ProviderDetail.stories.tsx | |
parent | 52be8c915885351cf79f065a7c1787ce8ee7ec89 (diff) | |
download | wallet-core-335d22b12b3d8ed1a14d39bf8ca17faade9ca34c.tar.xz |
when as number instead of string, fix codec used before declaration, pretty
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/ProviderDetail.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/ProviderDetail.stories.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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", }, |