-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
-
None
In this project, we are doing date validation using validator library. But when passes the date value from validator.isISO8601(value) the function it returns true for all the date format of ISO 8601, but our database saves dates in only integers.
For example:
1. when we put the date "2017-W50-2" input form accept this value but the database will not accept. it is giving an error "Submission Error: An unhandled error occurred" on current working site as well as my local machine.
2. Input form accepts DD = 31 for all 1<MM<12 which is wrong and if we input the value 2017-11-31 it will accept both input form and database but when we index data into elasticserach it will give error "Can not parse date : 2017-11-31".
- has related issue
-
MBS-9724 Improve dates for artists
- Open