| Vista Gadget: Presto's Sidebar Clock |
| A Vista gadget to elegantly display the current date and time (with optional time zone support). |
FeedbackBy Preston Hunt, 08 April 2007 |
Overview
Presto's Sidebar Clock is a gadget for the Windows Vista sidebar. It elegantly displays the current date and time (with optional time zone information).
Supported languages: English, Dansk, Nederlandse, Français, Italiano, español, Polski.
(E-mail me if you are interested in providing translations for other languages!)
Charityware
Presto's Sidebar Clock is Charityware. You can use and copy it as much as you like, but you are encouraged to help the less fortunate of the world through a donation to UNICEF. After you have made your donation, please e-mail me your name and donation amount and how you want to be recognized: name only, name plus amount, or anonymous (amount only).
Background
On WinXP, I was always very dissatisfied with the default system clock. My biggest complaint was that it didn't display the date unless you hovered the cursor over the time or made the start bar super wide. So I found a shareware program called TClockEx that installs a customizable clock in the lower right hand corner.TClockEx was perfect for my needs, unless I traveled internationally. In this case, I wanted to display multiple time zones at once, so I ended up using a pay program called Zone Tick.
When I first installed Vista, I used the default clock and date widgets that Microsoft has provided. However, they consume too much screen real estate for my tastes. Further, while I have no problem with analog clocks in the real world, I like a digital clock for my computer desktop.
None of the digital clock gadgets available met my requirements for simplicity and elegance, and Presto's Sidebar Clock was born...
Features
In addition to offering a completely customizable date and time format (using the same format as PHP's date function) it also supports an optional time zone offset and time zone label. By simply dragging multiple copies of the clock to your sidebar, you can have two or more time zones displayed simultaneously. Clicking on the time will take you to a web page of international time zones. Clicking on the date will take you to a web page with the current year's calendar.
Acknowledgments
This gadget uses Svend Tofte's excellent formatDate JavaScript code to do the date and time formatting. Special thanks to Svend for releasing his useful code to the public domain.
Enhancements
Depending on how popular the gadget is, I am considering adding a few enhancements.The biggest one would be a mode where the background color of the clock would gradually cycle from blue to black based on the time of day, thereby providing a visual clue of day or night to the user. This is obvious for the current time zone, but can be helpful if multiple time zones are installed. A really cool implementation would download sunrise/sunset times for the specific city.
Please feel free to e-mail feature requests, bug reports, etc.!
Release history
- 1.18 Fixed daylight saving switch bug that was causing a delay in many parts of the world (thanks to numerous reporters for this bug report!). Added Polish support (thanks Marcin Michalak!)
- 1.17 Added ability to switch languages. Improved font size adjustment routine. Added ability to completely remove top date line for an even bigger clock.
- 1.16 Fixed Sydney and Nocosia (thanks John Bishop!). Moved away from Fleegix to home-grown timezone library.
- 1.15 Fixed error with settings not being saved across reboots (thanks Mike Ogden!)
- 1.14 Added ability to remove date line completely (just remove all text from the date format box) and fixed problem where gadget would stop updating if certain time zones were selected (thanks Rob Ryan and HongSheng Zhang)
- 1.13 Fixed daylight saving errors for United States and Israel (thanks Jeffry Ma, Mike Ogden, and Shlomi Bernthal)
- 1.12 Added Spanish (thanks Lucía and Tom!)
- 1.11 Added French (thanks DionysosV!) and Danish (thanks Dennis Boffy!)
- 1.10 Major improvement to timezone support (thanks to Matthew Eernisse for his Javascript XDate library and to the maintainers of the zoneinfo database). Added Italian support (thanks Mirko Mazzacano!)
- 1.03 Added Dutch language support (thanks Edwin Walstra!)
- 1.01 Fixed empty white box problem on international localizations
- 1.00 Initial release
Frequently Asked Questions
Where is the time zone for India? Please select Asia/Calcutta.
Where is the time zone for China? Please select Asia/Shanghai.
Feature Requests From Users
- User selectable font family/size/color
- User selectable background and frame color (and maybe image)
- Support for PHP "T" flag in date/time format string
- Multiple time zones in one gadget
- Ability to override automatic language selection
- Alarm/countdown timer
- Pick up time zones from Vista (local and up to two others) and autoconfig gadget
Feedback