Fix: reject logs whose QSO dates do not match the selected contest month #6
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/qso-date-contest-match"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A March log could be uploaded into the October slot — the robot never compared the file QSO dates to the chosen Monthly Contest. Adds a date-match guard on BOTH preview and submit that blocks (400, bilingual message naming contest month vs file dates) when QSO dates fall outside the selected contest month. Format-tolerant (Cabrillo YYYY-MM-DD and ADIF YYYYMMDD). Individual in-window time anomalies stay the advisory OUT_OF_TIME flag; this is a wrong-slot input guard, not rule adjudication (never-reject still applies to contest-RULE compliance). 137 tests pass incl. a new guard test; two existing tests updated to use date-aligned fixtures.