diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx index b2a8de014..c2bceb067 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx @@ -23,6 +23,7 @@ import { AbsoluteTime, PaymentStatus, RefreshReason, + TalerPreciseTimestamp, TalerProtocolTimestamp, TransactionCommon, TransactionDeposit, @@ -245,7 +246,7 @@ export const WithdrawFiveMinutesAgo = tests.createExample( () => ({ transaction: { ...exampleData.withdraw, - timestamp: TalerProtocolTimestamp.fromSeconds( + timestamp: TalerPreciseTimestamp.fromSeconds( new Date().getTime() / 1000 - 60 * 5, ), }, @@ -257,7 +258,7 @@ export const WithdrawFiveMinutesAgoAndPending = tests.createExample( () => ({ transaction: { ...exampleData.withdraw, - timestamp: TalerProtocolTimestamp.fromSeconds( + timestamp: TalerPreciseTimestamp.fromSeconds( new Date().getTime() / 1000 - 60 * 5, ), txState: { |