Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mattab opened this issue Apr 15, 2011 · 2 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Apr 15, 2011

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
Copy link
Contributor

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
Copy link
Member Author

mattab commented Apr 16, 2011

(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 Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants