Comment 3 for bug 1557571

Revision history for this message
Charles Kerr (charlesk) wrote :

The "7 minutes til" text is coming from unity8.

indicator-datetime passes the event's time to unity8 in the x-canonical-time property, and qml/Panel/Indicators/MenuItemFactory.qml's appointmentMenu code builds its time from calling i18n.relativeDateTime() on that x-canonical-time value.

Ideally, unity8 would have a timer kick at the top of the minute and update appointmentMenu's time property.

A hackier solution would be for indicator-datetime to rebuild the menu every minute. This should have the same effect for this ticket, but it would involve unnecessary bus traffic and IMO doesn't address the problem in the right place