Indicators should send timestamps, not pre-formatted strings

Bug #1260728 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-datetime (Ubuntu)
Triaged
Medium
Charles Kerr
indicator-messages (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Some indicators send pre-formatted strings, when they should be sending unix timestamps, to be formatted by the UI according to locale / timezone / user preferences.

See https://wiki.ubuntu.com/TimeAndDate for the design spec.

Michał Sawicz (saviq)
no longer affects: indicator-datetime
Revision history for this message
Charles Kerr (charlesk) wrote :

I don't believe this actually affects indicator-datetime (Ubuntu), as datetime is sending timestamps and format strings, rather than preformatted time strings.

Changed in indicator-datetime (Ubuntu):
status: New → Invalid
Revision history for this message
Charles Kerr (charlesk) wrote :

Hm. Actually the menuitems are timestamps, but indicator-datetime's header is a preformatted string -- we could prevent some bus traffic by changing that to a timestamp as well. We'd need to add a new entry (say, "time-title") to the header dictionary that the indicators pass over, and Unity 8 would need to check for that and if found use it instead of the dict's standard "title" entry.

Saviq, does that sound alright to you?

Changed in indicator-datetime (Ubuntu):
assignee: nobody → Charles Kerr (charlesk)
importance: Undecided → Medium
status: Invalid → Triaged
Revision history for this message
Lars Karlitski (larsu) wrote :

indicator-messages uses time stamps for all times.

Changed in indicator-messages (Ubuntu):
status: New → Invalid
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Michał Sawicz (saviq)
no longer affects: unity8
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.