Skip to content

Update date handling in configuration functions to use z.coerce.date()#164

Merged
danhellem merged 1 commit into
mainfrom
users/danhellem/date-param-fixes-1
Jul 2, 2025
Merged

Update date handling in configuration functions to use z.coerce.date()#164
danhellem merged 1 commit into
mainfrom
users/danhellem/date-param-fixes-1

Conversation

@danhellem

@danhellem danhellem commented Jul 2, 2025

Copy link
Copy Markdown
Collaborator

Changed z.date to z.coerce.date() to handle strings

GitHub issue number #133 and #38

Associated Risks

No Risks

PR Checklist

  • I have read the contribution guidelines
  • I have read the code of conduct guidelines
  • Title of the pull request is clear and informative.
  • 👌 Code hygiene
  • 🔭 Telemetry added, updated, or N/A
  • 📄 Documentation added, updated, or N/A
  • 🛡️ Automated tests added, or N/A

🧪 How did you test it?

Tested manually and re-ran automated testst

@github-actions

github-actions Bot commented Jul 2, 2025

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@danhellem

Copy link
Copy Markdown
Collaborator Author

Testing

image

image

@danhellem danhellem self-assigned this Jul 2, 2025
@danhellem danhellem added the Needs Review 👓 needs review by the product team label Jul 2, 2025

@polatengin polatengin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@danhellem danhellem merged commit 6127334 into main Jul 2, 2025
12 checks passed
@danhellem danhellem deleted the users/danhellem/date-param-fixes-1 branch August 13, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review 👓 needs review by the product team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Command params using z.date() for validation won't accept ISO date strings or epoch ado_get_releases wrong date type/format

3 participants