acdh-oeaw / arche-core

MIT License
0 stars 1 forks source link

Dates out of Postgresql date range generate 500 response #9

Closed zozlak closed 3 years ago

zozlak commented 3 years ago

Postgresql's timestamp (and other date types) handles only dates in range 4713 BC - 294276 AD (https://www.postgresql.org/docs/13/datatype-datetime.html). Providing a date-typed metadata property value out of this range generates error 500.