Don't display seconds in countdown label

Bug #1475208 reported by Kirr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Alarm Clock Applet
New
Undecided
Unassigned

Bug Description

There is an option to show the countdown label. Seconds on the label could be distracting, annoying, superfluous. I suggest adding an option to change the format of countdown label to "hh:mm" (where "hh" stands for remaining hours and "mm" is remaining minutes)

Tags: ui
Kirr (harakesh557)
description: updated
Kirr (harakesh557)
tags: added: ui
Revision history for this message
Kirr (harakesh557) wrote :

In case if someone wants this, I changed line 229 in ui.c:

tmp = g_strdup_printf("%02d:%02d:%02d", tm->tm_hour, tm->tm_min, tm->tm_sec);

to:

tmp = g_strdup_printf("%d:%02d", tm->tm_hour, tm->tm_min);

It corresponds to format "h:mm".

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.