- if(time1_format && clock_timeout==0) {
- if (strchr(time1_format, 'S') || strchr(time1_format, 'T') || strchr(time1_format, 'r'))
+ if((time1_format || time2_format) && clock_timeout==0) {
+ if (strchr(time1_format, 'S') || strchr(time1_format, 'T') || strchr(time1_format, 'r') ||
+ strchr(time2_format, 'S') || strchr(time2_format, 'T') || strchr(time2_format, 'r'))