aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-03-17 11:08:53 +0100
committerFlorian Dold <florian@dold.me>2022-03-17 11:08:53 +0100
commit05838080f51f0405bde846703b28310a70e82b5f (patch)
treebdb82b8b5f42a13c789828d0888f8fe3b99c6b16 /packages/taler-util
parent151aa904e054a5e81e80a9eff95889b6e7ab8fa2 (diff)
wallet: round timestamps in db-less requests to the exchange
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 3b80b4ee0..9f9571019 100644
--- a/packages/taler-util/src/time.ts
+++ b/packages/taler-util/src/time.ts
@@ -87,6 +87,7 @@ export namespace Timestamp {
export const now = getTimestampNow;
export const min = timestampMin;
export const isExpired = isTimestampExpired;
+ export const truncateToSecond = timestampTruncateToSecond;
}
export function timestampMin(t1: Timestamp, t2: Timestamp): Timestamp {