Create a universal date format key

Bug #883568 reported by Danielle Foré
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
elementary OS
Won't Fix
Undecided
Unassigned

Bug Description

We have quite a few apps that show the date and it's come to my attention that users want to have different date formats. This can be dependent on your locale where the month should come before the day in some cases and after the day in others, or this can be dependent on how technical you are where some users want to see "Today" and some users want to see "2011-10-29".

Currently, each app either handles this independently with no configuration or handles it's own configuration and what we end up with is a system where it's really hard for a user to simply set how he wants to see the date across the whole OS.

What we need to do is create a universal dconf key that we can all use and that can be set in Switchboard so that we can get really nice date formats for free in our apps and that users can see the format they want consistently in all of our apps.

Of course we do have to have a way to keep certain provisions in showing the date. For example in Marlin it might make sense to show the full modify date down to the second, but in Dexter you only want to see the day, month, and year of a person's birth.

description: updated
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Hmm, I thought GNOME already had something similar...

Revision history for this message
Cris Dywan (kalikiana) wrote :

So here's an overview of existing settings:

    dconf:
org.gnome.interface.clock-format
org.gnome.shell.clock.show-date/ show-seconds
org.gnome.shell.calendar.show-weekdate
apps.indicators.datetime.custom-time-format/ show-date/ show-day/ show-seconds/ time-format
com.canonical.indicator.datetime.custom-time-format/ show-calendar/ show-clock/ show-date/ show-day/ show-seconds/ show-week-numbers/ time-format

    gconf2:
/apps/evolution/calendar/display/week_start_day
/apps/evolution/calendar/display/use_24hour_format
/apps/evolution/calendar/display/show_week_numbers
/apps/nautilus/preferences/date_format

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

We also have a date format switcher in Marlin: org.gnome.marlin.preferences.date-format in dconf

ammonkey (am-monkeyd)
Changed in marlin:
status: New → Invalid
Revision history for this message
Jaap Broekhuizen (jaapz-b) wrote :

Has anybody created a universal key yet or are we going to use the ones Christian listed?

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Last time I checked there was no progress on this, so I've added it to the next contributor meeting agenda.

Revision history for this message
Cris Dywan (kalikiana) wrote :
Changed in beat-box:
status: New → Won't Fix
Revision history for this message
Cris Dywan (kalikiana) wrote :

Related Empathy bug https://bugzilla.gnome.org/show_bug.cgi?id=608474 using org.gnome.system.locale.region and relying on %X and friends.

Changed in footnote:
status: New → Invalid
tags: added: defaults
Changed in elementaryos:
milestone: none → luna-beta1
Changed in elementaryos:
milestone: luna-beta1 → none
no longer affects: marlin
no longer affects: beat-box
no longer affects: postler
Revision history for this message
Jaap Broekhuizen (jaapz-b) wrote :

This is such an ancient bug, but is there any progress on this? Are we still going to do this?

Cody Garver (codygarver)
no longer affects: dexter-rolodex
no longer affects: footnote
Cody Garver (codygarver)
Changed in pantheon-files:
status: New → Incomplete
Changed in elementaryos:
status: New → Incomplete
Changed in pantheon-files:
importance: Undecided → Wishlist
tags: added: date modified
no longer affects: pantheon-files
Changed in elementaryos:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.