Reporting API date=lastX and date=previousX not working

Matomo 3.8.1 & PHP 7.2.5

https://xxxxxxx/index.php?module=API&method=VisitsSummary.get&idSite=xxxx&date=previous52&period=week&format=tsv&token_auth=xxxxx

But this is the same for all date=lastX and date=previousX parameters:
Result in a message:

Error: Das Datumsformat muss YYYY-MM-DD, or ‘today’ or ‘yesterday’ oder eine andere, von der Funktion strtotime unterstützte Zeichenkette sein. (Besuchen Sie http://php.net/strtotime für nähere Informationen)

Whis is saying only: the date-format must be YYYY-MM-DD, or ‘today’ or ‘yesterday’ or one of the supported string of the function strtotime.

Hi @ResponsibleUser

We tried but it is working on the demo it seems with the same URL: https://demo.matomo.org/index.php?module=API&method=VisitsSummary.get&idSite=62&date=previous52&period=week&format=tsv

Let us know maybe if you can reproduce the issue on the demo