Fix: Bug: Clock Only Updates Every Minute With Format %s (issue #724)

This commit is contained in:
Chris Lee 2018-12-27 08:01:11 +01:00
parent b539c0a1c0
commit cacd4b8dad
2 changed files with 9 additions and 2 deletions

View file

@ -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)

View file

@ -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;
}