Skip to content

fix: Role Date Timestamps - #79

Open
jeydinpham wants to merge 1 commit into
mainfrom
fix/role-date-timestamps
Open

fix: Role Date Timestamps#79
jeydinpham wants to merge 1 commit into
mainfrom
fix/role-date-timestamps

Conversation

@jeydinpham

Copy link
Copy Markdown
Contributor
  • Added a check in RoleSchema (in officer.ts) to ensure that endDate cannot be before startDate, using a new compareTerm function and a defined term order (Spring, Summer, Fall). If this rule is violated, a custom error is added to the endDate field.
    Closes fix: Role Date Timestamps #78

@jeydinpham jeydinpham self-assigned this Aug 21, 2026
@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
officer-database Ready Ready Preview Aug 21, 2026 12:13am

Request Review

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.

fix: Role Date Timestamps

1 participant