From 3e6fd4833e6b23d3fa8d01ed170552e007d561c9 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 13 Jan 2010 17:28:04 +0100 Subject: Implement rendering date nodes --- src/gnome-plist-editor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gnome-plist-editor.c') diff --git a/src/gnome-plist-editor.c b/src/gnome-plist-editor.c index c2de09d..7dc4ae7 100644 --- a/src/gnome-plist-editor.c +++ b/src/gnome-plist-editor.c @@ -425,6 +425,7 @@ void plist_cell_data_function (GtkTreeViewColumn *col, double d; uint8_t b; uint64_t u = 0; + GTimeVal val = { 0, 0 }; col_type = (col_type_t)GPOINTER_TO_INT(user_data); @@ -498,7 +499,8 @@ void plist_cell_data_function (GtkTreeViewColumn *col, text = "FIXME: Parse Data"; break; case PLIST_DATE: - text = "FIXME: Parse Dates"; + plist_get_date_val(node, (int32_t*)&val.tv_sec, (int32_t*)&val.tv_usec); + text = g_time_val_to_iso8601(&val); break; case PLIST_ARRAY: text = g_strdup_printf("(%d items)", plist_array_get_size(node)); -- cgit v1.1-32-gdbae