Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: adjust time since epoch
Browse files Browse the repository at this point in the history
  • Loading branch information
wescopeland committed Sep 13, 2022
1 parent a79e5b8 commit 883bba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/retro-achievements-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ export class RetroAchievementsClient {
{
...this.buildAuthParameters(),
u: userName,
f: (dateFrom.getTime() / 100).toFixed(0),
t: (dateTo.getTime() / 100).toFixed(0)
f: (dateFrom.getTime() / 1000).toFixed(0),
t: (dateTo.getTime() / 1000).toFixed(0)
}
);

Expand Down

0 comments on commit 883bba4

Please sign in to comment.