From 05838080f51f0405bde846703b28310a70e82b5f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 17 Mar 2022 11:08:53 +0100 Subject: wallet: round timestamps in db-less requests to the exchange --- packages/taler-util/src/time.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/taler-util') 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 { -- cgit v1.2.3