Skip to content

fix: reject invalid loosely padded due dates - #252

Merged
vycdev merged 2 commits into
vycdev:developfrom
vycdev2:fix/reject-invalid-due-dates
Oct 14, 2026
Merged

vycdev merged 2 commits into
vycdev:developfrom
vycdev2:fix/reject-invalid-due-dates

Conversation

@vycdev2

@vycdev2 vycdev2 commented Oct 7, 2026

Copy link
Copy Markdown

Summary

  • Reject impossible loosely padded ISO-style @due dates before the natural-language parser rolls them forward.
  • Keep valid single-digit date/time components and ISO T timestamps working.
  • Add a regression test and unreleased changelog entry.

Verification

  • RED on untouched production code: ./node_modules/.bin/mocha -r ts-node/register test/due.spec.ts --exit failed on 2026-2-30 (the repository's Mocha config runs all specs).
  • npm run typecheck passed.
  • npm test passed (416 tests).
  • npm run compile passed.
  • npm run format:check passed.
  • git diff --check passed.

Risk

  • Low: only ISO-like due-date parsing changes; natural-language expressions still use the existing fallback.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

@vycdev
vycdev merged commit 419a35c into vycdev:develop Oct 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants