logoalt Hacker News

reddaloyesterday at 9:38 PM1 replyview on HN

> Most web sites have no business knowing my time zone.

That would work if websites only displayed dates in UTC. Which is not what most people expect. Browsers need to know your timezone so timestamps can displayed with the right setting for you.


Replies

ryandrakeyesterday at 9:58 PM

Ideally, the user would decide whether to display UTC or local time, based on their system or browser's preference, the web site would just send UTC or an opaque datetime object, and the browser would render it in the user's preferred date/time format.