Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Allow to hide hours in the future in output of API function getVisitInformationPerServerTime() #2316

Closed
mattab opened this Issue · 2 comments

2 participants

@mattab
Owner

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.

@robocoder
Collaborator

Instead of an option to show/hide, maybe it could be a time (or maybe date/time) formatter? IIRC there was a request for 12-hour time format.

@mattab
Owner

(In [4480]) Fixes #2316 - Disabled by default in API for Backward compatibility, but enabled in the UI as it slightly improves readability

@mattab mattab added this to the Piwik 1.3 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.