« Top 12 Nerd Movies of all Time | Main | Cubicle Wars – Part I & II »

04/11/2010

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a0115711bf0ae970b01347fcc943e970c

Listed below are links to weblogs that reference Can we please get a Time-Zone: in the http request header?:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

A great idea, but it'd probably be best to just use standard offsets instead of named time zones:

Time-Offset: -0730
Time-Offset: +1100

etc.

A TIME element in HTML would let the browser display times to the user's liking and allow the server to serve static pages.

@Mark Edgar: As you say, a time element sounds much better. Server stays simple, client can show whatever it wants.

There might be reasons to show time in a specific timezone regardless of the client, so I wonder if it would also make sense to say the stated usage of the time.

E.g. <time value="2010-03-04 13:00:12" usage="client" /> would be meant for the client to render as the user wishes. Other usage="..." could be invented.

Similarly, I think it would make sense to add a <money> element as well.

Justin, there is a TIME element that's currently on-track to be part of HTML 5.

http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element

Some timezones are very specific to certain countries or regions, and may be exposing more information than the user wishes. E.g. Iran has their own IRST.

It will also take monumental effort to get all browsers to implement a new header. If you can use JS, why not make use of the geolocation JS API? That is gaining good traction, prompts the user before making their location available, and you can then do a location->timezone lookup. The last step might be tricky, but should be possible.

Justin, just sending the offset itself wouldn't be adequate, for reasons similar to what Derick Rethans outlines here: http://derickrethans.nl/storing-date-time-in-database.html

I'd rather not for privacy reasons. I like the idea of a time element much more-- let the client do the work. That way the server doesn't have to know my time zone.

Why not check the IP location?

I'm confused about the point regarding travel. If we're talking about mobile devices, it makes sense. But I'd rather expect that we'd be mainly talking about laptops, which don't automatically change timezones when you travel. Right?

The comments to this entry are closed.

Google Search

David Thielen

B.I. Tweets

    follow me on Twitter

    Windward Reports

    Quantcast

    • Quantcast