diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta')
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/InvoicePay/state.ts b/packages/taler-wallet-webextension/src/cta/InvoicePay/state.ts index 690474a86..10f1ee849 100644 --- a/packages/taler-wallet-webextension/src/cta/InvoicePay/state.ts +++ b/packages/taler-wallet-webextension/src/cta/InvoicePay/state.ts @@ -123,7 +123,7 @@ export function useComponentState({ raw, goToWalletManualWithdraw, summary, - expiration: expiration ? AbsoluteTime.fromTimestamp(expiration) : undefined, + expiration: expiration ? AbsoluteTime.fromProtocolTimestamp(expiration) : undefined, }; if (!foundBalance) { diff --git a/packages/taler-wallet-webextension/src/cta/Payment/views.tsx b/packages/taler-wallet-webextension/src/cta/Payment/views.tsx index ea3d93f3f..764036dad 100644 --- a/packages/taler-wallet-webextension/src/cta/Payment/views.tsx +++ b/packages/taler-wallet-webextension/src/cta/Payment/views.tsx @@ -93,7 +93,7 @@ export function BaseView(state: SupportedStates): VNode { title={i18n.str`Valid until`} text={ <Time - timestamp={AbsoluteTime.fromTimestamp( + timestamp={AbsoluteTime.fromProtocolTimestamp( contractTerms.pay_deadline, )} format="dd MMMM yyyy, HH:mm" diff --git a/packages/taler-wallet-webextension/src/cta/TransferPickup/state.ts b/packages/taler-wallet-webextension/src/cta/TransferPickup/state.ts index 9b309ce2f..7711498e1 100644 --- a/packages/taler-wallet-webextension/src/cta/TransferPickup/state.ts +++ b/packages/taler-wallet-webextension/src/cta/TransferPickup/state.ts @@ -86,7 +86,7 @@ export function useComponentState({ onClick: pushAlertOnError(accept), }, summary, - expiration: expiration ? AbsoluteTime.fromTimestamp(expiration) : undefined, + expiration: expiration ? AbsoluteTime.fromProtocolTimestamp(expiration) : undefined, cancel: { onClick: pushAlertOnError(onClose), }, |