Allow to hide hours in the future in output of API function getVisitInformationPerServerTime()
|Reported by:||matt||Owned by:|
This was requested as to make the 'real time' view of 'today' statistics less 'frightening', because by default piwik will show zeros for all hours in the future. WE could instead add a parameter to hide these hours, allowing to show only stats up to now.
The advantage of doing in the API is ease of use for API consumers: they don't have to do the timezone logic themselves.