alarm-clock
alarm-clock copied to clipboard
Don't display seconds in countdown label
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)
Imported from Launchpad using lp2gh.
- date created: 2015-07-16T08:53:07Z
- owner: harakesh557
- the launchpad url was https://bugs.launchpad.net/bugs/1475208
(by harakesh557) 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".