British Colombia, Time Zones, and Postgres

winslett 11 points 1 comment June 16, 2026
www.crunchydata.com · View on Hacker News

Discussion Highlights (1 comments)

Ndymium

The naming of "timestamp with time zone" is one of my favorite pet peeves. It's one of those things that you can say "well technically it's true" about. The article suggests that for past events, UTC and this timestamptz would be acceptable as a general rule, but even there it depends on what you will be doing with the data. If you intend to interpret it as a series of local occurrences and try to visualize/summarize that data later, you may be in for a surprise as your user has moved to another timezone and now all the past events are translated to the wrong local hours [0]. For example, your system might end up showing that the user's best time for jogging based on historical data is at 2 in the night. [0] https://blog.nytsoi.net/2022/03/13/utc/

Semantic search powered by Rivestack pgvector
10,715 stories · 100,765 chunks indexed