Add support for custom date format on the menu item

Bug #542173 reported by Ivan Zorin
48
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Ayatana Design
New
Undecided
Unassigned
Indicator Date and Time
Incomplete
Wishlist
Unassigned

Bug Description

It would be great to have option for customization time/date line via strftime settings.
For example, standart GNOME Clock applet has gconf key /apps/panel/applets/clock_screen0/prefs/custom_format ;
and if value of key /apps/panel/applets/clock_screen0/prefs/format set to "custom", then value of custom_format key proceeding as strftime arguments for displaying relative time/date information.
I think, such strftime setting should be not only for time (which displays in the indicator-applet panel), but also for the first line of datetime's main menu.

Tags: ui wishlist
Ivan Zorin (iaz)
tags: removed: interface user
Ted Gould (ted)
Changed in indicator-datetime:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Ted Gould (ted) wrote :

Currently you can set this for the panel in dconf-editor, but not for the menu item yet. So I'm leaving this bug open, but there has been some progress in implementing it.

Revision history for this message
James Haigh (james.r.haigh) wrote :

Ted, Thanks for the tip about dconf-editor.

It should also be possible to set a format for timezones. After changing 'time-format' to 'custom', the format of my timezones changed to 12-hour (see the screenshot), but I have no way to set a different custom format for them. I'd like to set them to '%T%z'.

It would be great if there was a 'Custom format' option on the 'Clock' tab of 'Time & Date Settings...'.

Revision history for this message
James Haigh (james.r.haigh) wrote :

Note also that '%T' causes the whole lot to go blank. See the screenshot.

Currently, I have to use '%R:%S' instead.

Revision history for this message
James Haigh (james.r.haigh) wrote :

"It would be great if there was a 'Custom format' option on the 'Clock' tab of 'Time & Date Settings...'."

Or at least an option for RFC 3339 style dates like '2011-08-27'.

Revision history for this message
James Haigh (james.r.haigh) wrote :

"Or at least an option for RFC 3339 style dates like '2011-08-27'."

Filed this:
Bug #835460: RFC 3339 date format option in 'Time & Date Settings...'

Revision history for this message
James Haigh (james.r.haigh) wrote :

"Note also that '%T' causes the whole lot to go blank. See the screenshot."

Same thing also happens for '%:z' and '%w'.

Revision history for this message
Remon Huijts (rahuijts) wrote :

"Note also that '%T' causes the whole lot to go blank. See the screenshot."
"Same thing also happens for '%:z' and '%w'."

Does indicator-datetime use g_date_time_format instead of the expected strftime for rendering? The g_date_time_format function does not support the same format specifiers:
http://developer.gnome.org/glib/2.28/glib-GDateTime.html#g-date-time-format

Revision history for this message
Javier Jardón (jjardon) wrote :

This bug is about add support for custom date formats to the indicator-datetime, see comment #1

For problems with unsipported time specifiers see bug#775113 . Indeed the %T support was added in Glib recently.

Revision history for this message
James Haigh (james.r.haigh) wrote :

Bug #775113

(lp doesn't automatically link it without a space)

Javier Jardón (jjardon)
summary: - custom settings for strftime format of time and date lines
+ Add support for custom date format on the menu item
Revision history for this message
Charles Kerr (charlesk) wrote :

Can't proceed without feedback from Design

Changed in indicator-datetime:
status: Triaged → Incomplete
Revision history for this message
Andrzej Klimek (andrzej-klimek) wrote :

I've set my interface language to English but my Ubuntu user account language is set to Polish. I cannot change the way the date is showing. The months and weekdays abbreviations are Polish but the arrangement is in the US way. I think the chooser component could be somehow like the office suite date format chooser.

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.