-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Help wantedBeginner friendly issues or issues where we'd highly appreciate community's help and involvement.Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.c: UsabilityFor issues that let users achieve a defined goal more effectively or efficiently.For issues that let users achieve a defined goal more effectively or efficiently.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone
Description
Hello,
there's an error in Live.getLastVisitsDetails
API. When you choose date by range and starting date lower than 1992-01-01
you get an error message:
{"result":"error","message":"Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http:\/\/php.net\/strtotime for more information): 662688000"}
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
Metadata
Metadata
Assignees
Labels
Help wantedBeginner friendly issues or issues where we'd highly appreciate community's help and involvement.Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.c: UsabilityFor issues that let users achieve a defined goal more effectively or efficiently.For issues that let users achieve a defined goal more effectively or efficiently.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.For issues or pull requests that should not be included in our release changelog on matomo.org.