Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

VisitTime.getVisitInformationPerServerTime: Empty hours are not returned #2363

Closed
anonymous-piwik-user opened this Issue · 1 comment

2 participants

Anonymous Piwik user Matthieu Aubry
Anonymous Piwik user

When you request the VisitTime.getVisitInformationPerServerTime for a date having no visit, it doesn't return 0 but an empty array.

I think the API should return the 0 value for every past date when there is no visit. The empty response should be reserved for future dates (that doesn't exist). So the response is predictable.

Matthieu Aubry
Owner

(In [4583]) Fixes #2363

Anonymous Piwik user anonymous-piwik-user added this to the 1.4 - Piwik 1.4 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.