Update error message in API/UI if date is before 1992 #12559
Labels
c: Usability
For issues that let users achieve a defined goal more effectively or efficiently.
Help wanted
Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone
Hello,
there's an error in
Live.getLastVisitsDetails
API. When you choose date by range and starting date lower than1992-01-01
you get an error message:when in fact that date is supported by strtotime function: https://3v4l.org/tmaBQ
URL to which I send a request, change
[$AUTH]
and[$USER_ID]
:https://aitnet.com.pl/analysis/?module=API&method=Live.getLastVisitsDetails&token_auth=[$AUTH]&idSite=4&period=range&format=json&language=en&segment=userId%3D%3D[$USER_ID]&date=1991-12-31,2018-02-14
The text was updated successfully, but these errors were encountered: