[gnome-desktop/wip/hadess/fix-ci] fixup! wall-clock: More debug in format function



commit 0fc335e091ce9d7591c914f4b7fb50ce5fb4c90b
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 29 10:18:29 2019 +0100

    fixup! wall-clock: More debug in format function

 libgnome-desktop/gnome-wall-clock.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/libgnome-desktop/gnome-wall-clock.c b/libgnome-desktop/gnome-wall-clock.c
index 6e616065..f9083894 100644
--- a/libgnome-desktop/gnome-wall-clock.c
+++ b/libgnome-desktop/gnome-wall-clock.c
@@ -241,7 +241,9 @@ date_time_format (GDateTime *datetime,
        /* Then do the same with en-space and underscore before passing it to
         * g_date_time_format.  */
        no_enspace = string_replace (no_ratio, " ", "_");
+       g_debug ("no_enspace: %s", no_enspace);
        replaced_format = g_date_time_format (datetime, no_enspace);
+       g_debug ("replaced_format: %s", replaced_format);
 
        g_free (no_ratio);
        g_free (no_enspace);
@@ -263,6 +265,8 @@ date_time_format (GDateTime *datetime,
        }
 
        g_free (replaced_format);
+       g_debug ("is_utf8: %s", is_utf8 ? "TRUE" : "FALSE");
+       g_debug ("ret: %s", ret);
        return ret;
 }
 


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