Skip to content

Commit

Permalink
fix(web): wrong timeline timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniosarro committed Jan 29, 2025
1 parent 6e31ac4 commit 6a3cfa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/lib/utils/timeline-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export type ScrollTargetListener = ({
}) => void;

export const fromLocalDateTime = (localDateTime: string) =>
DateTime.fromISO(localDateTime, { zone: 'UTC', locale: get(locale) });
DateTime.fromISO(localDateTime, { zone: 'local', locale: get(locale) });

export const fromDateTimeOriginal = (dateTimeOriginal: string, timeZone: string) =>
DateTime.fromISO(dateTimeOriginal, { zone: timeZone });
Expand Down

0 comments on commit 6a3cfa7

Please sign in to comment.