summaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-01-24 22:44:17 +0100
committerFlorian Dold <florian@dold.me>2022-01-24 22:44:30 +0100
commita51abcffb04e29880170fb3aac550e5dc06e01d0 (patch)
treeface6f3ac907e28f0c68fcd89ba584712f119ed3 /packages/taler-util
parente653fc6f58c26dbb4a10b5b89a24865dd814fe68 (diff)
downloadwallet-core-a51abcffb04e29880170fb3aac550e5dc06e01d0.tar.gz
wallet-core-a51abcffb04e29880170fb3aac550e5dc06e01d0.tar.bz2
wallet-core-a51abcffb04e29880170fb3aac550e5dc06e01d0.zip
make refund-gone test case pass again (see #7158)
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/time.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/taler-util/src/time.ts b/packages/taler-util/src/time.ts
index 856db8a57..b941cf46c 100644
--- a/packages/taler-util/src/time.ts
+++ b/packages/taler-util/src/time.ts
@@ -77,6 +77,7 @@ export namespace Duration {
}
return Math.ceil(d.d_ms / 1000 / 60 / 60 / 24 / 365);
}
+ export const fromSpec = durationFromSpec;
}
export namespace Timestamp {