#3963 - Problem selecting older dates?
| Identifier | #3963 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Problem selecting older dates? |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | catalogues |
| Description | Not sure specifically what the issues is here, but it seems older dates (2008 for instance) are rejected as invalid. 3rd occurrence of this so thought I would mention. |
| Steps to reproduce | |
| Funded? | No |
| Commits | Fixed MANTIS-3963 (0f69288a) · Commits · Composr ecosystem / Composr · GitLab |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Comments
(Click to enlarge)
You can add field options like...
min_year=1900,max_year=2100
I do think there's a UX issue here, I'm thinking about it.
The default date range is +/- 10 years around the current year. This isn't made explicit.
I tested adding a custom field to galleries with the field options specified in my first comment, no issue. Did you use the field options?
Or are you saying there is no way to order subgalleries by date (which would be an entirely different issue to this one)?
1) originally we used HTML lists for date inputs and needed to limit the length of the lists for sanity reasons
2) we can't go before 1970 on all systems (it's an issue on Windows specifically, as it cannot deal with negative unix timestamps)
3) the year 2038 problem https://en.wikipedia.org/wiki/Year_2038_problem
I'm mulling it all over.