mirror of https://github.com/arendst/Tasmota.git
Fix ccronexpr
This commit is contained in:
parent
8162365960
commit
1fe07cbf7c
|
@ -282,7 +282,6 @@ static int add_to_field(struct tm* calendar, int field, int val) {
|
||||||
calendar->tm_hour = calendar->tm_hour + val;
|
calendar->tm_hour = calendar->tm_hour + val;
|
||||||
break;
|
break;
|
||||||
case CRON_CF_DAY_OF_WEEK: /* mkgmtime ignores this field */
|
case CRON_CF_DAY_OF_WEEK: /* mkgmtime ignores this field */
|
||||||
break;
|
|
||||||
case CRON_CF_DAY_OF_MONTH:
|
case CRON_CF_DAY_OF_MONTH:
|
||||||
calendar->tm_mday = calendar->tm_mday + val;
|
calendar->tm_mday = calendar->tm_mday + val;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue