[gnome-builder/wip/gtk4-port] plugins/ls: use helper to display relative times



commit a419da4a04dbd5466e65195c47e9b4c359d459dc
Author: Christian Hergert <chergert redhat com>
Date:   Thu Apr 28 21:46:34 2022 -0700

    plugins/ls: use helper to display relative times

 src/plugins/ls/gbp-ls-page.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/ls/gbp-ls-page.c b/src/plugins/ls/gbp-ls-page.c
index c22d4d352..24af63682 100644
--- a/src/plugins/ls/gbp-ls-page.c
+++ b/src/plugins/ls/gbp-ls-page.c
@@ -112,7 +112,7 @@ modified_cell_data_func (GtkCellLayout   *cell_layout,
                       -1);
 
   if (when != NULL)
-    format = g_date_time_format (when, "%X %x");
+    format = ide_g_date_time_format_for_display (when);
 
   g_object_set (cell, "text", format, NULL);
 }


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