summaryrefslogtreecommitdiff
path: root/docs/adr/002-timeline-aggregation.md
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-07-28 02:37:23 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-07-28 02:37:23 +0000
commit2da86b009c76bb7688103da49a9125d35d3a1ed8 (patch)
treebb9e5107d05826563e85f23b1a3d1488e378530d /docs/adr/002-timeline-aggregation.md
parent7f8cd6bfb894385b9ae310fd000cb921fef71cea (diff)
fix: Google Tasks due dates shifted a day earlier in negative-offset timezones
Google Tasks' due field is date-only but always serialized as an RFC3339 timestamp fixed at midnight UTC regardless of the user's timezone. Converting that instant into displayTZ (dueDate.In(tz)) reinterpreted it as a real moment in time instead of re-anchoring the same calendar date to local midnight -- midnight UTC becomes 2pm the previous day in UTC-10 (Pacific/Honolulu), so every dated Google Task silently landed one day earlier than its actual due date. A task due tomorrow showed up in today's section. Fix: extract the Y/M/D from the UTC-anchored timestamp (which IS the intended calendar date) and rebuild midnight in displayTZ from those components, instead of converting the instant.
Diffstat (limited to 'docs/adr/002-timeline-aggregation.md')
0 files changed, 0 insertions, 0 deletions