Skip to content

Commit

Permalink
Merge branch 'main' into update-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
cpb8010 authored Dec 3, 2024
2 parents a43f833 + 612b2d5 commit d17c73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/client-auth-server/session/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const formatLimitPreferences = (limit: PartialLimit): Limit => {

export const formatDatePreferences = (date: string | bigint | Date): bigint => {
if (typeof date === "string") {
const now = new Date().getTime();
const now = Math.floor(new Date().getTime() / 1000);
const seconds = msStringToSeconds(date);
return BigInt(now) + seconds;
}
Expand Down

0 comments on commit d17c73e

Please sign in to comment.