Comment 16 for bug 1183806

Revision history for this message
Saikrishna Arcot (saiarcot895) wrote :

I have good news and a little bad news.

The good news is that I managed to make a patch that gets your time zone ID and takes into account DST. Basically, (assuming you set your first location to your current location) if your error is that the DST is not being taken into account and therefore your displayed time is one hour back, this should be fixed.

The bad news is that you'll have to install python3-tz ("sudo apt-get install python3-tz"). The other bad news is that if your error is that at the moment, you can't manually set the time (or more specifically, the UTC offset). I'm planning to add that later so that you can set the UTC offset manually if needed.

To use the patch:
1. Download and save the patch.
2. Open Terminal (Ctrl+Alt+A).
3. Type in "cd '/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator'"
4. Type in "sudo patch -p1 < " and the path to the patch you downloaded. (Ex. "sudo patch -p1 < '/home/saikrishna/Downloads/time-zone-fix.patch'")

Keep in mind you'll have to install python3-tz as well.