Custom time format in datetime applet cannot handle some format specifiers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GLib |
Fix Released
|
Medium
|
|||
Indicator Date and Time |
Fix Released
|
Low
|
Javier Jardón | ||
Unity Foundations |
Fix Released
|
Low
|
Javier Jardón | ||
indicator-datetime (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I try to set the custom format of the datetime indicator using dconf-editor (/com/canonical
My format is "%V | %F, %R", which should result in "<ISO-week-number> | <ISO-date>, <24-hour time>".
I've tried %W instead of %V, to no avail.
What happens: Nothing (or an empty string) is displayed in the datetime indicator.
What I expect to happen: The format should accept any strftime-valid format, just like I expect coming from GNOME2.
Further information:
When I remove the %V portion (and %W), the format works. (" | %F, %R")
I'm not sure if it's only the week number that doesn't work; it's possible other flags are non-functional as well. I haven't tested every single flag. :)
Related branches
- Indicator Applet Developers: Pending requested
-
Diff: 47 lines (+9/-3)2 files modifiedconfigure.ac (+1/-1)
src/indicator-datetime.c (+8/-2)
- Ken VanDine: Pending requested
-
Diff: 301 lines (+59/-27) (has conflicts)8 files modifiedChangeLog (+32/-0)
configure (+10/-19)
configure.ac (+1/-2)
data/datetime-dialog.ui (+0/-1)
debian/changelog (+14/-0)
debian/control (+0/-2)
src/datetime-prefs.c (+0/-1)
src/datetime-service.c (+2/-2)
affects: | ubuntu → indicator-datetime (Ubuntu) |
Changed in indicator-datetime (Ubuntu): | |
status: | New → Confirmed |
Changed in indicator-datetime: | |
status: | New → In Progress |
Changed in indicator-datetime: | |
assignee: | nobody → Javier Jardón (jjardon) |
Changed in unity-foundations: | |
assignee: | nobody → Javier Jardón (jjardon) |
milestone: | none → oneiric-beta-2 |
status: | New → In Progress |
Changed in indicator-datetime: | |
importance: | Undecided → Low |
Changed in unity-foundations: | |
importance: | Undecided → Low |
Changed in glib: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in glib: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in indicator-datetime: | |
status: | In Progress → Fix Committed |
milestone: | none → 0.2.94 |
Changed in unity-foundations: | |
status: | In Progress → Fix Committed |
Changed in indicator-datetime: | |
status: | Fix Committed → Fix Released |
Changed in unity-foundations: | |
status: | Fix Committed → Fix Released |
%W works in my format, but %U and %V don't. They blank the whole datetime display, although the required space is still reserved.
%a %d-%m-%Y (Wk%V) %H:%M:%S
displays nothing, but is equally wide as
%a %d-%m-%Y (Wk%W) %H:%M:%S
which displays the correct date and time on my system (but I need the other week number).
%V %V %V is blank and three times as wide as just %V