You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I would like to thank you for such an amazing package.
Recently, I have been investigating how to use SpreadCheetah to create some local Excel files. In my study, I noticed that SpreadCheetah does not implement boundary validation for DateOnly and/or DateTime objects; so far, I could only find solutions for numerical boundary problems.
Therefore, I would like to suggest a DateTime and a DateOnly Boundary validators to the available package options.
Sincerely,
The text was updated successfully, but these errors were encountered:
Excel files do support all kinds of boundary value types (decimal value, integer value, date-only, date-time, etc.), and boundary rules (greater than, greater or equal than, between, lower than, and lower or equal than) validations. Therefore, It would be most welcoming to have these functionalities available within SpreadCheetah.
Ah yes, now I understand. So in practical terms it would be to extend the DataValidation class with e.g. DataValidation.DateGreaterThan and similar. That part is missing now but it sure could be a useful feature. Thanks for the suggestion!
sveinungf
changed the title
Implementation of DateOnly and DateTime boundary Validators
Data validation - Dates
Dec 23, 2024
Dear developers,
First of all, I would like to thank you for such an amazing package.
Recently, I have been investigating how to use SpreadCheetah to create some local Excel files. In my study, I noticed that SpreadCheetah does not implement boundary validation for DateOnly and/or DateTime objects; so far, I could only find solutions for numerical boundary problems.
Therefore, I would like to suggest a DateTime and a DateOnly Boundary validators to the available package options.
Sincerely,
The text was updated successfully, but these errors were encountered: