fix: resolve timezone offset in reading session heatmap tooltip (#1870)

Co-authored-by: James Ward <james@notjam.es>
This commit is contained in:
zanivann
2026-07-26 18:23:04 +00:00
committed by GitHub
co-authored by James Ward
parent daae463896
commit 2e4f85c331
@@ -87,6 +87,7 @@ export class ReadingSessionHeatmapComponent implements OnInit, OnDestroy {
const point = context[0].raw as MatrixDataPoint;
const date = new Date(point.date);
return date.toLocaleDateString('en-US', {
timeZone: 'UTC',
weekday: 'short',
year: 'numeric',
month: 'short',