| Windows Gadget: Presto's Sidebar Clock |
| A Vista/Windows 7 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 and Windows 7 sidebar. It elegantly displays the current date and time (with optional time zone information).
21 supported languages: Afrikaans, Български, Čeština, 简体中文, Dansk, Deutsch, English, Español, Français, Italiano, Lietuvių, Magyar, Mакедонски, Nederlands, Polski, Português, Русский, Slovenščina, Srpski, Svenska, українська.
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 so I can add your name to the donators list (and know that my gadget is appreciated!).Thanks to the following generous individuals who have shown their appreciation for Presto's Sidebar Clock by contributing to UNICEF: Jim Baker, Dave Horne, Diane Koyich, Matt Halls, and Rich Armstrong.
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.
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.It also uses the pytz package to compute the time zone offsets for all of the cities for both standard and daylight time. The time zone files upon which pytz is based are changing all the time, Stuart Bishop does a great job of constantly updating pytz.
Screenshots
Please feel free to send me screenshots of how you use Presto's Sidebar Clock. I'll post them here!
Frequently Asked Questions
Where is the time zone for India?
Please select Asia/Calcutta or Asia/New Delhi.
Where is the time zone for China?
Please select Asia/Shanghai.
Why don't you use time zone names, such as Eastern/Pacific/etc. for the U.S. or other countries?
The technical reason is that I use the zoneinfo project for my time zone information. It provides information by city name. I also happen to agree with their naming convention, so there is very little chance that I will ever release a version that uses U.S. time zone names.
Do you have support for Julian dates in the date format string?
Use uppercase "J" in the date format string to get Julian date. This is the same as "z" but starting at 1 instead of 0.
I just want to display the date. Is there any way to suppress the time?
If you want to suppress the time, it's possible to enter the date format codes in the time format box. For example, you could put "M j" for the date format and "D" for the time.
Can I change the background image?
Yes! Locate the following directory on your hard disk: C:\Users\username\AppData\Local\Microsoft\Windows Sidebar\Gadgets\prestosidebarclock-1.32.gadget\images. Change "username" to your login name and update the "prestosidebarclock-x.xx" to the current version number accordingly. Simply replace the file "background-black.png" with the background image you want to use.
Daylight saving just changed for my time zone, but the clock is still showing the old time.
Sometimes it takes up to 24 hours for the correct time to appear. Please wait a day before contacting me with a bug report (thanks!). Time zone rules do change frequently, please ensure that you are running the latest version of the clock.
How do I run multiple clocks?
Click the Windows Start menu and type "Gadget Gallery". When the gallery opens, simply drag as many clocks as you would like onto the desktop.
Release history
- 1.39 Fixed problem with Italian long dates (thanks Carmine Castiglia Jr and Marco). Added ability to save and restore settings to disk (thanks Rich Armstrong).
- 1.38 Added Simplified Chinese support (thanks Knight Lin!)
- 1.37 Added Slovenian (thanks Janez Pobezin)
- 1.36 Added Lithuanian (thanks Gintaras Pavilionis!)
- 1.35 Updated time zones to zoneinfo database 2009r. Added Afrikaans translation (thanks Constant Van Wyk!). Added some extra logic to make the seconds stay in sync if multiple clocks are running (thanks Jeremy Wallis!).
- 1.34 Updated zoneinfo timezones to tzdata-2009p (fixed many European time zones, thanks Diane Koyich for the bug report, and also Stuart Bishop for his tireless maintenance of pytz!). Tweaked time algorithm to switch closer to daylight saving time. Fixed problem with Julian date updating one-hour late during daylight saving time (thanks Christopher Throckmorton!).
- 1.33 Reduced polling frequency in certain situations to improve power performance (thanks Jared Miniman for the suggestion!). Updated time zone data to tzdata-2009n.
- 1.32 Corrections to German translation (thanks Florian Thomsen!). Upgraded time zone data to tzdata-2009i.
- 1.31 Added Macedonian translation (thanks Viktor Mancev!)
- 1.30 Added Portugese and updated time zone information.
- 1.29 Updated to new time zone data (tzdata-2009a). Added Bulgarian translation (thanks Artyom Ivanov!).
- 1.28 Added GMT offsets (-12 to +12) by popular demand! Added automatic update notification message to settings screen when a new update is available.
- 1.27 Added Russian language (thanks Denis Baumgaertner!)
- 1.26 Runs on Windows 7 now (special thanks to Daron Brewood for initial bug report and helping to root cause the issue, and also to Jose Marques, Marc Seinfeld, and Sven Junesch for reporting the issue).
- 1.25 Added Czech language (thanks Jan Pintr!)
- 1.24 Fixed bug with "W" date format flag (thanks Paul Van Cotthem, Rickard Utgren, Mike Pavini, and Brian Montalto). Updated to latest zoneinfo database. Added note to settings page that "u" is unsupported.
- 1.23 Added Ukrainian (thanks Mr. Gorka and Natalie Maciukenas!) and Hungarian (tahnks Nagy Laszlo!)
- 1.22 Added Serbian (thanks Milan Nagulic!)
- 1.21 Added font support (family, size, and color). Added ability to disable automatic sizing for time. Added tabs to settings user interface. Fixed Pakistan time zone. Added Swedish translation (thanks Jari Tammisto!). Added German translation (thanks Florian Thomsen!). Fixed missing "September" for French (thanks Sylvain Dore!).
- 1.20 Switched text rendering engine and automatic font size computation to try and fix sporadic reports of freezing.
- 1.19 Upgraded to latest tzdata database to fix Iraq time zone problem (thanks Tom Hamlyn!)
- 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
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.! (Please check the list of existing bug reports and tickets first.)
Feature Requests From Users
- Ability to load settings from a file for automated install (label, city name, etc.)
- User selectable background and frame color (and maybe image)
- Support for PHP "T" flag in date/time format string
- Ability to set backgrounds of the clock to the national flag or have a small flag of the country (maybe famfam icons)
- Weather support
- Transparent background with optional border.
- Thai Solar Calendar support
- Double size option (for 1920x1080 desktops)
- Ability to have additional time zones in one gadget (to save screen real estate)
- Alarms
Previous Versions
- Download 1.38
- Download 1.37
- Download 1.36
- Download 1.35
- Download 1.34
- Download 1.33
- Download 1.32
- Download 1.31
- Download 1.30
- Download 1.29
- Download 1.28
- Download 1.27
- Download 1.26
- Download 1.25
- Download 1.24
- Download 1.23
- Download 1.22
- Download 1.21
- Download 1.20
- Download 1.19
- Download 1.18
- Download 1.17
- Download 1.16
- Download 1.15
- Download 1.14
- Download 1.13
- Download 1.11
Feedback