[gnome-desktop/wip/hadess/fix-ci: 3/10] wall-clock: More debug in format function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop/wip/hadess/fix-ci: 3/10] wall-clock: More debug in format function
- Date: Tue, 29 Jan 2019 09:02:38 +0000 (UTC)
commit df9a896bb31d3a4d1e353b6970b505ea679ae3e3
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jan 11 01:06:16 2019 +0100
wall-clock: More debug in format function
libgnome-desktop/gnome-wall-clock.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/libgnome-desktop/gnome-wall-clock.c b/libgnome-desktop/gnome-wall-clock.c
index 19f416a6..6e616065 100644
--- a/libgnome-desktop/gnome-wall-clock.c
+++ b/libgnome-desktop/gnome-wall-clock.c
@@ -314,6 +314,11 @@ gnome_wall_clock_string_for_datetime (GnomeWallClock *self,
{
const char *format_string;
+ g_debug ("clock_format: %s", clock_format == G_DESKTOP_CLOCK_FORMAT_24H ? "24h" : "12h");
+ g_debug ("show_weekday: %s", show_weekday ? "TRUE" : "FALSE");
+ g_debug ("show_full_date: %s", show_full_date ? "TRUE" : "FALSE");
+ g_debug ("show_seconds: %s", show_seconds ? "TRUE" : "FALSE");
+
if (clock_format == G_DESKTOP_CLOCK_FORMAT_24H) {
if (show_full_date) {
if (show_weekday)
@@ -366,6 +371,8 @@ gnome_wall_clock_string_for_datetime (GnomeWallClock *self,
}
}
+ g_debug ("format_string: %s", format_string);
+
return date_time_format (now, format_string);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]