From cacd4b8dadd892226a53ef79e9034a16f85ec469 Mon Sep 17 00:00:00 2001 From: Chris Lee <@klee93> Date: Thu, 27 Dec 2018 08:01:11 +0100 Subject: [PATCH] Fix: Bug: Clock Only Updates Every Minute With Format %s (issue #724) --- ChangeLog | 3 ++- src/clock/clock.c | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7dfc985..fd2a234 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ -2018-09-14 master +2018-12-26 master - Fix spacing around icons in executor without text in vertical panels (issue #716) +- Fix Bug: Clock Only Updates Every Minute With Format %s (issue #724) 2018-08-05 16.6.1 - Fix packaging regression for debian (issue #715) diff --git a/src/clock/clock.c b/src/clock/clock.c index f12a8ca..92cf629 100644 --- a/src/clock/clock.c +++ b/src/clock/clock.c @@ -173,7 +173,13 @@ gboolean time_format_needs_sec_ticks(char *time_format) { if (!time_format) return FALSE; - if (strchr(time_format, 'S') || strchr(time_format, 'T') || strchr(time_format, 'r')) + if (strchr(time_format, 'c') || + strchr(time_format, 'r') || + strchr(time_format, 's') || + strchr(time_format, 'S') || + strchr(time_format, 'T') || + strchr(time_format, 'X') || + strchr(time_format, '+')) return TRUE; return FALSE; }