Skip to content
Snippets Groups Projects
Commit 9d359582 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Timed event "month days" value of 1 means "any day" (same as 0)

This field should not normally have a value of '1' (no way to configure that, normally, since days are numbered starting at 1 and bit 1 is 2), but if it does, it's treated the same as 0 (any day of the month) - so fix that mismatch in getnexteventtime(). Just noticed this while comparing the logic with the new is_time_to_run() functions in main.cpp. That logic wasn't (should not have) changed, so this mismatch in the treatment of mdays == 1 existed before.
parent b269b65a
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2758 passed