Skip to content

Commit 541b607

Browse files
committed
Merge branch 'main' of github.com:openwallet-foundation/credo-ts
Signed-off-by: Martin Auer <[email protected]>
2 parents d945ca4 + e57bf8f commit 541b607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/openid4vc/src/shared/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,5 @@ export function addSecondsToDate(date: Date, seconds: number) {
198198
}
199199

200200
export function dateToSeconds(date: Date) {
201-
return Math.floor(date.getTime() * 1000)
201+
return Math.floor(date.getTime() / 1000)
202202
}

0 commit comments

Comments
 (0)