Description of the need
Use case: do not allow birth/death date fields to have dates from the future.
Proposed solution
This is the respective issue for D9 in d.org: https://www.drupal.org/project/drupal/issues/2942828
Make the date field show in the Frontend:
- Only dates from the past (eg: 2000 - Present)
- Only dates from the future. (eg: Present - 2020)
- Ranges from a past date to a future date (eg: 2000 - 2020)
For 1 and 2, there needs to be an option to INCLUDE or EXCLUDE (the Present +/- an ADMIN specified number of years, months, days, hours, minutes, seconds)
This will allow custom date intervals like the ones below:
Eg: Show only the dates between last month (Present minus 1 month) and 1 week from now (Present plus 7 days). Eg: If we wanted to show a date range from 2000 until yesterday we could do that by excluding the current day (Present) because the date for "yesterday" changes everyday.
Recent comments
This is helpful. When I Googled for suggestions about the error message, I found an old entry in Stack Overflow that suggested increasing max_connections. I passed that along to the hosting...
"SQLSTATE[08004] [1040] Too many connections" error - any ideas?
Thanks for the suggestions. All caches have been enabled from the start. I'm not sure what qualifies as a "complex" view. There are 400-500 pages that include EVA fields. But the vast...
"SQLSTATE[08004] [1040] Too many connections" error - any ideas?
Also, when we had some problems with the Backdrop sites, this is what the server admin did: I have increased the max_connections for mariadb and increased the child_processes for...
"SQLSTATE[08004] [1040] Too many connections" error - any ideas?