Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Make a UTC Dashboard clock widget' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make a UTC Dashboard clock widget
Authored by: RedFred on Aug 13, '13 06:05:00PM

Or you can do this:

UTC / GMT / Zulu for the Mac World Clock

If you require the display of UTC / GMT (Greenwich Mean time) once in a while, this little hack might be useful to you.

The Mac comes with a beautiful world clock widget that allows placement of various local clocks on the dashboard and is really helpful for people that communicate on a global level. The only thing missing is an option for UTC display (important for HAM radio). This little hack adds a GMT option to the standard World Clock widget.
Open a Terminal window on your MAC. Navigate to the widget directory.

cd /Library/Widgets/

In there you should find a subdirectory for any of the standard widgets that came with OS X. Locate the World clock widget directory and enter it.

cd World Clock.wdgt

Open the file WorldClock.js for editing with your favourite editor

sudo vi WorldClock.js

Locate the Europe section and just above Amsterdam, add this line.

{city:'GMT/UTC', offset:0, timezone:'UTC', id:"2647937"},

Save the file and open the dashboard. Add a new World Clock widget and that should now have an option to add GMT/UTC in the Europe section.



[ Reply to This | # ]