Convert to local time in Firefox

Rocket launches and interesting events in astronomy attract global audiences. The main problem with these events is that the times are usually quoted in some time zone that is not the one I'm in. This leaves me trying to remember how many hours ahead or behind the quoted time zone is from the time zone I'm in. It gets even more fiddly when you have to take into account daylight savings. If only there was a solution...

A long time ago I made some JavaScript to display the timestamps on my blog posts in local time. Apart from some daylight savings bugs, the problem with that script was that it only worked on my site. Tonight, whilst waiting for the launch of NASA's Kepler mission, I thought I'd try to make that script more useful by turning it into a Firefox bookmark that could be applied to any webpage I happened to be on. It seems to work so I thought I'd share it.

In Firefox right click your Bookmarks Toolbar and select "New Bookmark". This should bring up a small window that lets you set a Name, Location, Keyword and Description. In Name enter something like "Local Time". In the Location box enter the contents of this file. Now, whenever you click the bookmark, any nicely formatted time on the page should be converted to your computer's local time.

Posted in astro blog by Stuart on Saturday 07th Mar 2009 (02:29 GMT) | 3 Comments | Permalink

Comments: Convert to local time in Firefox

gravatarThis would be really cool and handy, if it worked.

Posted by Erik Westrup on Friday 15th May 2009 (16:50 UTC)

gravatarErik, do you want to elaborate?

Posted by Stuart on Friday 15th May 2009 (18:13 UTC)

Well I can help testing but for the programming part I can't help now. I have to educate m self more in that subject. I know a bit of C# only which won't help in this situation

Posted by Erik Westrup on Friday 12th Jun 2009 (20:25 UTC)

ADD A COMMENT:


Don't provide an email/URL unless really necessary as your comment may get caught in the spam filter. The ground rules for commenting are:
  1. No profanity or personal attacks please. Keep it clean.
  2. Restrict comments to subjects relevant to the post.
  3. Be light-hearted if at all possible.
  4. No spam i.e. anything commercial unrelated to astronomy.
Comments against the spirit of these ground rules may be removed.











* required fields