Fix: Bug: Clock Only Updates Every Minute With Format %s (issue #724)
This commit is contained in:
parent
b539c0a1c0
commit
cacd4b8dad
2 changed files with 9 additions and 2 deletions
|
@ -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 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
|
2018-08-05 16.6.1
|
||||||
- Fix packaging regression for debian (issue #715)
|
- Fix packaging regression for debian (issue #715)
|
||||||
|
|
|
@ -173,7 +173,13 @@ gboolean time_format_needs_sec_ticks(char *time_format)
|
||||||
{
|
{
|
||||||
if (!time_format)
|
if (!time_format)
|
||||||
return FALSE;
|
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 TRUE;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue