[Xfce4-commits] <xfce4-weather-plugin:master> Summary window: Show timezone both as UTC offset and by its abbreviation.

Harald Judt noreply at xfce.org
Sun Feb 3 10:50:01 CET 2013


Updating branch refs/heads/master
         to b8c47dff8677177b85373f160f4df248764bfa76 (commit)
       from d4d53d908761511410f6c44d32f016a212a62113 (commit)

commit b8c47dff8677177b85373f160f4df248764bfa76
Author: Harald Judt <h.judt at gmx.at>
Date:   Sun Feb 3 10:45:06 2013 +0100

    Summary window: Show timezone both as UTC offset and by its abbreviation.
    
    The user might find both ways of presentation useful.

 panel-plugin/weather-summary.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index 6c56191..a6483e1 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -1004,7 +1004,7 @@ update_summary_subtitle(plugin_data *data)
         return FALSE;
 
     time(&now_t);
-    date = format_date(now_t, "%Y-%m-%d %H:%M:%S %Z", TRUE);
+    date = format_date(now_t, "%Y-%m-%d %H:%M:%S %z (%Z)", TRUE);
     title = g_strdup_printf("%s\n%s", data->location_name, date);
     g_free(date);
     xfce_titled_dialog_set_subtitle(XFCE_TITLED_DIALOG(data->summary_window),


More information about the Xfce4-commits mailing list