
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
UPDATED IN TIME FOR END OF DST IN EUROPE: Memory leak fixed (thanks whise)
A version of the default Clock screenlet with timezone support and custom date/time formats for the caption. The WorldClock screenlet automatically adjusts for daylight saving time (DST) according to rules for the selected timezone. Customizable date/time formats allow multi-line time display including seconds and timezone abbreviation (e.g., EDT, CEST) display.
Originally created to track current time in Kabul, Afghanistan from my home in Austin, Texas, USA. Kabul's offset from UTC is not an even number of hours, so the default clock screenlet is unable to display Kabul time correctly.
Released in time for end of Daylight Saving Time (DST) in the United States. True timezone support is most critical right around beginning and end of Daylight Saving Time, to ensure that the rules for the target timezone are applied and not the rules for the user's local timezone.
Based on work by RYX, whose work was in turn based on MacSlow's original cairo-clock. The default theme is nothing more than the "station" theme from RYX's Clock screenlet with the addition of a globe background.
NOTE: Requires python-dateutil package.
12 years ago
v 0.9.2 - removed bullet-proofing on update_timezone
added caching of tzinfo to update; for some reason, __setattr__ not being called at the proper time
v 0.9.1 - moved to cached pango_layout object to prevent memory leaks (thanks to whise)
added text alignment
v 0.9.0a - repackaged using screenlets-packager
v 0.9.0 - original upload to gnome-look.org
12 years ago
v 0.9.2 - removed bullet-proofing on update_timezone
added caching of tzinfo to update; for some reason, __setattr__ not being called at the proper time
v 0.9.1 - moved to cached pango_layout object to prevent memory leaks (thanks to whise)
added text alignment
v 0.9.0a - repackaged using screenlets-packager
v 0.9.0 - original upload to gnome-look.org
prosenjitlinux
3 years ago
Report
thecondordb
11 years ago
Thank You for this nice screenlet. I'm currently using it twice: one clock instance for CEST time zone (Germany) and one instance for NPT time zone (Nepal).
But I think there is a bug in v0.9.2. The digital time is displayed correctly but the analog time seems to be wrong (the watch hand for hours is misleading).
Please see the screenshot..
http://www.baudys.de/Screenshot_WordClockScreenlet_Wrong_analog_time.jpg
..that I made and note that digital and analog time is NOT the same (digital time is correct though).
Could You please fix this if it's really a bug? Or shall I open a bug report for it somewhere?
Thank You very much in advance.
Dennis aka Condor
Report
VictorR
12 years ago
How could I fix this?
Report
jsf
12 years ago
Report
VictorR
12 years ago
Report
jsf
12 years ago
Report
VictorR
12 years ago
One instance has Face Text as follows
Austin%n%n%n%n%A, %b %e%n%T %Z
Actual reading is
Austin... Sunday, Dec 28 08:19:12 NZDT
which is my local time and would be perfectly correct, if it were not set to America/Chicago.
Report
jsf
12 years ago
Report
jsf
12 years ago
Report
jsf
12 years ago
Report
jsf
12 years ago
Report
VictorR
12 years ago
Time Zone -- Pacific/Auckland
Time-Offset -- 0.0
When I launched the second instance it displayed what I guess was GMT. If I changed Time-offset to +3 it displayed the correct time for Moscow, so did it if I set Time-offset=0 and Time Zone - Europe/Moscow (I had to type it as there was no list).
Looks like the Clock screenlet works fine.
Report
ketilwaa
13 years ago
You can keep your stuff in a separate branch if you'd like, and then merge whenever you feel like it. I'll add you to the team if you choose to do this.
You can also keep your stuff in the main branch if that's more like your cup of tea.
Oh, and you can still keep the info here, and just keep itin synch with bzr.
Report