artefactual / artefactual/atom
Problem: CSV Validation fails when event dates have `00` for month or date.
- Dominant language
- PHP
- Stars
- 297
- Forks
- 152
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 3
Description
### Current Behavior
**Steps to reproduce the behavior**
1. Create a CSV where eventStartDate/eventEndDate is in the format of `YYYY-00-00`
2. Run CSV Validation for this CSV
3. Note that it fails CSV Validation with "Invalid event dates"
### Expected Behavior
If AtoM allows the format of `YYYY-00-00` to be manually added to event start/end dates via the GUI, CSV Validation should accept this type of format as well.
Contributor guide
Research direction
Start by locating the CSV Validation handling for eventStartDate and eventEndDate, then compare its accepted date formats with the GUI behavior described in the issue. Reproduce the YYYY-00-00 case and verify that CSV Validation accepts it as expected for both event fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100