After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 698363 - date format in Nautilus's Modified column doesn't match format in GtkFileChooser
date format in Nautilus's Modified column doesn't match format in GtkFileChooser
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on: filechooser-nautilus
Blocks:
 
 
Reported: 2013-04-19 14:00 UTC by Adam Dingle
Modified: 2015-07-04 05:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Dingle 2013-04-19 14:00:38 UTC
I'm running Nautilus from git master and GTK 3.8.0.

The Modified column in Nautilus shows a time ("06:18"), a month/day ("Apr 11") or a month/day/year ("Nov 21 2012").

The Modified column in the GtkFileChooser uses a different format: it shows a time ("06:18"), a recent day of the week ("Yesterday at 15:30" or "Wednesday") or a month/day/year in a different format ("04/12/2013").

Nautilus and GtkFileChooser should display dates/times in the same way, and using the same code path so that these formats will stay in sync with any future changes.
Comment 1 Adam Dingle 2013-04-29 20:37:07 UTC
I suggest moving the date formatting code into GLib somewhere and calling it from both GTK and Nautilus.  I think it would be nice to use the same format in gitg, by the way (see bug 699196).
Comment 2 Adam Dingle 2013-05-02 20:23:48 UTC
For consistency, I think Epiphany should also use the same format; see bug 699522.  I think this is yet another reason to move this formatting into GLib.
Comment 3 jessevdk@gmail.com 2014-07-10 12:55:28 UTC
Any news on this?
Comment 4 Davi 2014-10-14 02:54:01 UTC
Also, the date format does not seem to be properly localized, at least for pt_BR. For example, it says "Out 3" when it should say "3 Out" or even "3 de Out".
Comment 5 Matthias Clasen 2015-07-04 05:12:59 UTC
The time column is now more similar to nautilus.