.. include:: /Includes.rst.txt .. _task-1791625641: ========================================= Task: One reading of dates in API queries ========================================= Description =========== Every API operation reads a date of its query through one parser: ``YYYY-MM-DD`` and nothing else. A date that does not exist or is written differently is refused with 400 and the problem type ``invalid-query-parameter``. Before, some operations read a day like 2026-02-30 as a day in March, and some answered 422. Impact ====== API clients that sent malformed query dates get 400 ``invalid-query-parameter`` everywhere. A missing date is answered as before by each operation. .. index:: API, package:adsum-core, package:adsum-working-time, package:adsum-attendance, package:adsum-leave, package:adsum-projects, package:adsum-assets