* hildon-widgets/hildon-time-editor.c (hildon_time_editor_check_locale): do not force...
authorLuc Pionchon <luc.pionchon@nokia.com>
Wed, 26 Apr 2006 21:04:04 +0000 (21:04 +0000)
committerLuc Pionchon <luc.pionchon@nokia.com>
Wed, 26 Apr 2006 21:04:04 +0000 (21:04 +0000)
ChangeLog
hildon-widgets/hildon-time-editor.c

index 3f741bc..ec0046a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-04-27  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       * hildon-widgets/hildon-time-editor.c
+       (hildon_time_editor_check_locale): do not force lower case for
+       AM/PM symbols. Use the string as it is given by the locale. Makes
+       it coherent with hildon time picker. Fixes N#27963
+
+
 2006-04-26  Luc Pionchon  <luc.pionchon@nokia.com>
 
        * hildon-widgets/hildon-set-password-dialog.c
index 33910f7..0eee38c 100644 (file)
@@ -1173,9 +1173,9 @@ static gboolean hildon_time_editor_check_locale(HildonTimeEditor * editor)
     /* Update time separator symbols */
     get_time_separators(priv);
  
-    /* Get AM/PM symbols. We want to show them in lowercase. */
-    priv->am_symbol = g_ascii_strdown(nl_langinfo(AM_STR), -1);
-    priv->pm_symbol = g_ascii_strdown(nl_langinfo(PM_STR), -1);
+    /* Get AM/PM symbols. */
+    priv->am_symbol = g_strdup(nl_langinfo(AM_STR));
+    priv->pm_symbol = g_strdup(nl_langinfo(PM_STR));
 
     if (priv->am_symbol[0] == '\0')
         return TRUE;