diff options
author | Florian Dold <florian@dold.me> | 2022-03-18 15:32:41 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-03-21 19:20:48 +0100 |
commit | f8d12f7b0d4af1b1769b89e80c87f9c169678564 (patch) | |
tree | 2478696c7bc1efc6d090b93aa340de542a7dccd9 /packages/taler-wallet-webextension/src/wallet/History.stories.tsx | |
parent | 32cd54e11d80bde0274b3c0238f8f5bd00ff83cb (diff) | |
download | wallet-core-f8d12f7b0d4af1b1769b89e80c87f9c169678564.tar.xz |
wallet: t_s/d_us migration
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/History.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/History.stories.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx index bd52995d9..8138e63dd 100644 --- a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx @@ -21,6 +21,7 @@ import { PaymentStatus, + TalerProtocolTimestamp, TransactionCommon, TransactionDeposit, TransactionPayment, @@ -45,9 +46,9 @@ const commonTransaction = () => amountRaw: "USD:10", amountEffective: "USD:9", pending: false, - timestamp: { - t_ms: new Date().getTime() - count++ * 1000 * 60 * 60 * 7, - }, + timestamp: TalerProtocolTimestamp.fromSeconds( + new Date().getTime() - count++ * 60 * 60 * 7, + ), transactionId: "12", } as TransactionCommon); |