GNOME Bugzilla – Bug 410517
When item modified today, display modification time, not "Today"
Last modified: 2008-03-06 20:03:20 UTC
Ubuntu 6.10 When an item was last modified today, the default display should not be "Today", it should be the modification time. "Today" is implied.
Nice idea! Do you want to cook a little patch for this? The relevant place is gtk+/gtk/gtkfilechooserdefault.c:list_mtime_data_func().
Created attachment 106710 [details] [review] Patch to only show hours and minutes with respect to today This patch makes it so that files modified today look like: 13:56 Instead off; Today at 13:56
Very nice :) Please commit to trunk with a suitable ChangeLog.
The patch committed is the same as the one shown above, but with the _() for translation. Thanks for the patch, Will :) 2008-03-06 William Lachance <wrlach@gmail.com> * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" string localizable (as it should be). 2008-03-06 William Lachance <wrlach@gmail.com> * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of the time for today's date. It's redudant. (see bug #410517).