Skip to content

Commit

Permalink
Fix wrong hours in segment
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzdogan committed May 16, 2024
1 parent edc0990 commit 3d70a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/TimelineHeatmap.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
}
function makeSelected(day, segment, keys) {
const baseDate = toDate(`${day}T${segment}`, { timeZone: config.tz });
const baseDate = toDate(`${day}T${segment}`);
const title =
format(baseDate, 'EEEE MMMM d | HH:mm - ', { timeZone: config.tz }) +
format(addMinutes(baseDate, segmentMinutes), 'HH:mm', { timeZone: config.tz });
Expand Down

0 comments on commit 3d70a29

Please sign in to comment.