Skip to content

Commit

Permalink
fix time offset
Browse files Browse the repository at this point in the history
  • Loading branch information
nimarion committed Jan 15, 2024
1 parent 4c3b4e5 commit a98d24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/iptc.parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function parseIptcFromFile(file: string): Promise<Image | null> {
timestamp:
timestamp == "" || timestamp == "0"
? 0
: new Date(`1970-01-01T${timestamp}Z`).getTime(),
: new Date(`1970-01-01T${timestamp}Z`).getTime() - 3600000,
athletes,
windSpeed,
event,
Expand Down

0 comments on commit a98d24f

Please sign in to comment.