Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves #818 - Better Errors for Bad dates in time_modified #1099

Merged
merged 2 commits into from
Jul 14, 2023
Merged

Conversation

david-rocca
Copy link
Collaborator

@david-rocca david-rocca commented Jul 13, 2023

Closes Issue #818

Summary

When bad dates are passed into time_modified, a more coherent error message will be returned instead of a blanket 500.

Important Changes

src/utils/utils.js

Steps to manually test updated functionality, if possible

  • 1) Run the following command: npm run test

Notes

Thanks to Eric McCann (MITRE) @NuclearMistake for the help with writing the regex.

@jdaigneau5 jdaigneau5 merged commit 55fc8be into dev Jul 14, 2023
9 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