Skip to content

Commit

Permalink
Fixed timezone issue and cleaned up console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
kmiguel10 committed Oct 10, 2023
1 parent 419c77a commit b259db2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion app/components/home/running/running-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default function RunningDetails({

const handleUnitChange = () => {
setUnitIndex((unitIndex + 1) % LENGTH_UNITS.length);
console.log(JSON.stringify(dailyData));
};

return (
Expand Down
1 change: 1 addition & 0 deletions app/components/home/running/running-heatmap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ const RunningFeatureDetailHeatmap: FC<RunningFeatureDetailHeatmapProps> = ({
day: "numeric",
month: "short",
year: "numeric",
timeZone: "UTC", // Explicitly set the timezone to UTC
}
)}
</TooltipWithBounds>
Expand Down

0 comments on commit b259db2

Please sign in to comment.