Skip to content

Commit

Permalink
fix date
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Nov 25, 2024
1 parent afd2f2c commit c8544e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/src/utils/date.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export const oneYearInMilliseconds = 365 * oneDayInMilliseconds
export const serverStartupTimeInMilliseconds = Date.now()

export function dateToSeconds(date: Date) {
Math.floor(date.getTime() / 1000)
return Math.floor(date.getTime() / 1000)
}

0 comments on commit c8544e1

Please sign in to comment.