(
fee: Amounts.stringify(fee),
group,
id,
- moment: AbsoluteTime.fromTimestamp(stampEnd),
+ moment: AbsoluteTime.fromProtocolTimestamp(stampEnd),
denom,
});
return ps;
@@ -457,8 +457,8 @@ export function isWithdrawableDenom(
denomselAllowLate?: boolean,
): boolean {
const now = AbsoluteTime.now();
- const start = AbsoluteTime.fromTimestamp(d.stampStart);
- const withdrawExpire = AbsoluteTime.fromTimestamp(d.stampExpireWithdraw);
+ const start = AbsoluteTime.fromProtocolTimestamp(d.stampStart);
+ const withdrawExpire = AbsoluteTime.fromProtocolTimestamp(d.stampExpireWithdraw);
const started = AbsoluteTime.cmp(now, start) >= 0;
let lastPossibleWithdraw: AbsoluteTime;
if (denomselAllowLate) {
diff --git a/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx b/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
index 3866fc991..9c11170cd 100644
--- a/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
+++ b/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
@@ -136,7 +136,7 @@ export function PendingTransactionsView({
-
diff --git a/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx b/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx
index 9cbc2899f..392a7d0e8 100644
--- a/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx
+++ b/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx
@@ -179,7 +179,7 @@ export function HiddenView({ showHandler }: States.Hidden): VNode {
}
export function ShowView({ contractTerms, hideHandler }: States.Show): VNode {
- const createdAt = AbsoluteTime.fromTimestamp(contractTerms.timestamp);
+ const createdAt = AbsoluteTime.fromProtocolTimestamp(contractTerms.timestamp);
const { i18n } = useTranslationContext();
return (
@@ -266,7 +266,7 @@ export function ShowView({ contractTerms, hideHandler }: States.Show): VNode {
{contractTerms.deliveryDate && (
|