From eda0a24454683f39c5a26f441173008bca9bacf5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 16 Sep 2015 19:01:13 +0200 Subject: [PATCH] add Hour:Minute to last-modified. --- gtk2_ardour/session_dialog.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index ad50ecf92d..2b35f6f226 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -706,7 +706,7 @@ SessionDialog::redisplay_recent_sessions () child_row[recent_session_columns.time_modified] = gsb.st_mtime; Glib::DateTime gdt(Glib::DateTime::create_now_local (gsb.st_mtime)); - child_row[recent_session_columns.time_formatted] = gdt.format ("%F"); + child_row[recent_session_columns.time_formatted] = gdt.format ("%F %H:%M"); if (gsb.st_mtime > most_recent) { most_recent = gsb.st_mtime; @@ -742,7 +742,7 @@ SessionDialog::redisplay_recent_sessions () } Glib::DateTime gdt(Glib::DateTime::create_now_local (row[recent_session_columns.time_modified])); - row[recent_session_columns.time_formatted] = gdt.format ("%F"); + row[recent_session_columns.time_formatted] = gdt.format ("%F %H:%M"); } recent_session_display.set_tooltip_column(1); // recent_session_columns.tip