GNOME Bugzilla – Bug 671279
we should have a way to print times based on user preference for 12h/24h formats
Last modified: 2016-03-10 13:39:02 UTC
Created attachment 208926 [details] Nautilus Preferences Users need to be able to select what format they want the Date & Time to be displayed in and have this setting take effect globally throughout the system. Major problems can result when a user thinks he's set 24-hour time (or the date format dd-mm-yy) and a log or creation-date shows 12-hour time (or the date format mm-dd-yy). It is not appropriate to assume what format to use based on time zone. For example, many individuals, businesses, and organizations within the United States use 24-hour time and display the date as dd-MM-yyyy (i.e., 3 March 2012). Yet United States time zone defaults almost always assume 12-hour time and MM-dd-yyyy (i.e., March 3 2012) date. Some observable problems: If the panel is set to show 24-hour time, 12-hour time is still shown in Nautilus Preferences (screenshot attached), Language Support (screenshot attached), and on web browser headers/footers when printing pages from the internet. Despite the fact that Nautilus Preferences & Language Support are set to dd-MM-yyyy date format, the Panel still shows MM-dd-yyyy date format. And web browser headers/footers still show MM-dd-yyyy.
Created attachment 208927 [details] Language Support
Created attachment 208928 [details] Date Indicator
Comment on attachment 208926 [details] Nautilus Preferences Nautilus Preferences show AM/PM but panel shows 24-hour time.
Comment on attachment 208927 [details] Language Support Language Support shows AM/PM but panel shows 24-hour time.
Comment on attachment 208928 [details] Date Indicator Nautilus Preferences & Language Support show dd-MM but panel shows MM-dd.
(In reply to comment #0) > Created an attachment (id=208926) [details] > Nautilus Preferences > > Users need to be able to select what format they want the Date & Time to be > displayed in and have this setting take effect globally throughout the system. They can select it in the "Region and Language" panel. The setting in "Date & Time" will only affect the clocks not time display. <snip> > It is not appropriate to assume what format to use based on time zone. And here you assume that it's what we do (and it's not). We don't. It's based on your selection in "Region and Language" -> "Formats". I filed: http://sourceware.org/bugzilla/show_bug.cgi?id=13825 though I doubt that there will make any difference. Reassigning to glib, where we should have a way to print times based on user preference for 12h/24h formats.
*** Bug 671870 has been marked as a duplicate of this bug. ***
I disagree. glib should not be in the business of reading your settings and applying them automatically. We give you g_date_time_format, you get to apply the settings.