Skip to main content

Show the timezones you're interested in

Project description

Show the timezones you’re interested in in a dialog.

If you live in the southern hemisphere like I do, you probably constantly struggle to figure out what time it is in the northern hemisphere. This is because, when daylight savings time comes around the north jumps forward and we jump back (or vice-versa). To make things even more complicated, the date and hour that the time changes is usually different. There will be one or more weeks where time difference is X hours. Add the classic “off by one” error or a little dyslexia and your bound to get the time wrong and wake somebody up at 8:00 in the morning.

With MyZones you configure the timezones you are most interested in and then run it. You can go forward or backwards in time if you are trying to schedule a date in the future, say.

A screenshot can be found here : http://myzones.googlecode.com/svn/trunk/doc/screen-shot.png

You can configure to show the timezones you are interested in. As long as the timezone on your machine is correct and your computer’s clock is on time, then it should show the right time for that timezone. The pytz ({{{apt-get install python-tz}}} for debian users) module is very complete (and correct) even has historical timezones that don’t exist anymore.

Requirements

  • pytz

  • wxPython

  • Python

Configuration

Under Linux create a file called ~/.myzones.ini or ~/myzones.ini and it’ll use that file for configuration. Under Windows you would put the file it under something like ‘c:Documents and SettingsscottMy Documents’.

The configuration file looks something like this:

[config]
show_seconds:True
[timezones]
MTV: 1|US/Pacific
Mom: 2|US/Eastern
*Home*: 3|Brazil/East

In the config section, you can put in some configuration information, of which there is currently only one thing to configure.

For the timezones section you can give any names on the left hand side and the time zone (one of the [http://myzones.googlecode.com/svn/trunk/doc/common_zone_names.txt Common Zone Names] ) If you want the timezones to appear in a certain order you need to prepend the name with 1|, 2|, etc., and is thus recommended.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

myzones-0.2.0.zip (11.9 kB view details)

Uploaded Source

File details

Details for the file myzones-0.2.0.zip.

File metadata

  • Download URL: myzones-0.2.0.zip
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for myzones-0.2.0.zip
Algorithm Hash digest
SHA256 cf1920d3b8e39e0048a056fa4f203965fa54536142d7f521f4d907b9ccef0007
MD5 1ffceae3fa7ed8bba30494cc16b3abd7
BLAKE2b-256 48e1cd0b6063d98ddd2c76afbe6b6e644373b0dd91b0e90b854cfd9378d3a5bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page