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

Enhance date handling to support scenarios involving mathematical calculations. #408

Open
mikemitchel opened this issue Oct 30, 2024 · 0 comments

Comments

@mikemitchel
Copy link
Contributor

Because all dates are integers, this can create issues when a date calculation is required for completion of a court form or other document. For example, if the deadline to file a court form is one year from a date entered by a user in the Guided Pathway, the date would be calculated by adding 365. However, if the time between the two dates includes a leap year, the calculation will be inaccurate. This problem also occurs with calculations based on months, given the different length of each month. Currently, CLEO can manually build logic to address these issues, but there is a significant potential for errors and the logic quickly becomes complex. The use of number strings for dates, rather than integers, would assist with this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant