Solution to the timezone problem
7th September 2002
Hixie has a brilliant solution to the time zone problem in the form of a clever piece of XBL by Nicolás Lichtmier. The small script can be bound to an element containing a date in UTC and will quietly replace it with the time in the user’s current timezone using Mozilla’s built in UTC handling functions. Naturally it only works in Mozilla, but I imagine the script could be emulated using Internet Explorer behaviors.
More recent articles
- Qwen2.5-Coder-32B is an LLM that can code well that runs on my Mac - 12th November 2024
- Visualizing local election results with Datasette, Observable and MapLibre GL - 9th November 2024
- Project: VERDAD - tracking misinformation in radio broadcasts using Gemini 1.5 - 7th November 2024