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 769568 - Modification date display incorrectly wraps calendar days (and is inconsistent with GTK2 and Nautilus)
Modification date display incorrectly wraps calendar days (and is inconsisten...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2016-08-06 00:36 UTC by David H. Gutteridge
Modified: 2016-08-12 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David H. Gutteridge 2016-08-06 00:36:12 UTC
The GtkFileChooser widget for GTK 3.20.x wraps calendar days when calculating what to display for the file modification time. For example, a file created on Aug 4 at 22:00, when viewed on Aug 5 at 20:00, shows a modification time of "22:00" when it should logically show "Yesterday". Note this issue is akin to Nautilus bug 756402 (now fixed), though the Nautilus bug applied to a wider range of modification times.

In my environment, with the sample file referenced above, here is what is displayed:

GTK 2 2.24.30 "Yesterday at 22:00"
GTK 3 3.20.8 "22:00"
Nautilus 3.20.2 "Yesterday" (previous versions of Nautilus would also show "22:00" instead)
Comment 1 David H. Gutteridge 2016-08-12 18:20:00 UTC
Thanks for your prompt attention to this. Could this please be pulled up into the 3.20 branch?