Skip to content

Commit

Permalink
fix: Fix 30min typo
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Dec 12, 2023
1 parent 04ee2a8 commit 6b98514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function convertAxiosError(err: AxiosError): Error {
}

export const toDateTime = (secs: number): Date => {
const t = new Date("1970-01-01T00:30:00Z"); // Unix epoch start.
const t = new Date("1970-01-01T00:00:00Z"); // Unix epoch start.
t.setSeconds(secs);

return t;
Expand Down

0 comments on commit 6b98514

Please sign in to comment.