diff options
author | Stefano Karapetsas <[email protected]> | 2013-04-27 04:36:04 -0700 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-04-27 04:36:04 -0700 |
commit | ab44cdabc2a7f273eb1bb4098c2cd62980db63f9 (patch) | |
tree | 1531dea40db40dd72594cff411eba499b2cb12e0 /applets | |
parent | 110778320f3ff9b03af538bc4cb3c3bca6f5f699 (diff) | |
parent | b8735eeca6e6801e5d776754332a6426871f69b2 (diff) | |
download | mate-panel-ab44cdabc2a7f273eb1bb4098c2cd62980db63f9.tar.bz2 mate-panel-ab44cdabc2a7f273eb1bb4098c2cd62980db63f9.tar.xz |
Merge pull request #98 from micolous/master
Fix for issue #73: when the difference between timezones in the clock applet is less than 1 hour, an offset is not shown
Diffstat (limited to 'applets')
-rw-r--r-- | applets/clock/clock-location-tile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c index a6f6a4ce..33007b14 100644 --- a/applets/clock/clock-location-tile.c +++ b/applets/clock/clock-location-tile.c @@ -488,7 +488,7 @@ format_time (struct tm *now, hours = offset / 3600; minutes = labs (offset % 3600) / 60; - if (hours != 0 && minutes != 0) { + if (minutes != 0) { tmp = g_strdup_printf ("%s <small>%s %+ld:%ld</small>", buf, tzname, hours, minutes); } else if (hours != 0) { |