[libgweather] Use the right Unicode characters for formatting times



commit 7e42ce449a8ac2450a879966c3b8740cea34aabe
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sat Mar 2 15:23:24 2013 +0100

    Use the right Unicode characters for formatting times
    
    Hours and minutes should be separated by U+2236 RATIO character,
    according to the GNOME guidelines.

 libgweather/weather.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgweather/weather.c b/libgweather/weather.c
index eb8fd97..18f5899 100644
--- a/libgweather/weather.c
+++ b/libgweather/weather.c
@@ -549,7 +549,7 @@ gweather_info_get_update (GWeatherInfo *info)
     if (info->priv->update != 0) {
        GDateTime *now = g_date_time_new_from_unix_local (info->priv->update);
 
-       out = g_date_time_format (now, _("%a, %b %d / %H:%M"));
+       out = g_date_time_format (now, _("%a, %b %d / %H∶%M"));
        if (!out)
            out = g_strdup ("???");
 
@@ -877,7 +877,7 @@ gweather_info_get_sunrise (GWeatherInfo *info)
 
     sunrise = g_date_time_new_from_unix_local (priv->sunrise);
 
-    buf = g_date_time_format (sunrise, _("%H:%M"));
+    buf = g_date_time_format (sunrise, _("%H∶%M"));
     if (!buf)
         buf = g_strdup ("-");
 
@@ -902,7 +902,7 @@ gweather_info_get_sunset (GWeatherInfo *info)
         return g_strdup ("-");
 
     sunset = g_date_time_new_from_unix_local (priv->sunset);
-    buf = g_date_time_format (sunset, _("%H:%M"));
+    buf = g_date_time_format (sunset, _("%H∶%M"));
     if (!buf)
         buf = g_strdup ("-");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]