Files
meshcore-bot/modules
agessaman 7af1f46fdd fix(scheduler): close the gaps the second review round found
- An end date closes at the last second before the next local day begins, worked out in UTC. "23:59:59" did not exist on a day whose DST change skips the last hour (America/Nuuk, 2027-03-27), and APScheduler moved it past midnight, letting the schedule fire on the following date.
- APScheduler reads "last" and the ordinals as prefixes, so "last--fri", "lastfri" or "last-" quietly meant the last day of the month. Anything starting with an ordinal must now be "last" or a full positional day. A positional day combined with a day-of-week ("1st-tue * mon") never matches and is rejected.
- A schedule with no future run is invalid in the editor and skipped with a reason at startup, not only when it has date bounds.
- An option with nothing after it ("start=2027-01-01") gets its own error, and a channel that would read as week= is refused like start= and end=.
- The editor resets every builder control on each open, so a new entry no longer inherits the last edited entry's days or monthly choice, and it recognizes the several-times-a-day and every-N modes when reopening an entry. The preview runs the save-time entry checks once channel and message are filled in. With one day a month, a note explains that Weeks skips most months.
- The every-other-week docs example no longer repeats an INI key, a weather-service link follows the moved section, and the changelog says plainly that a key written as last-fri changes meaning: it used to run on the month's last day.
2026-11-04 19:41:50 -08:00
..