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

Document Piwik\Date format constants #9886

Open
tsteur opened this issue Mar 7, 2016 · 0 comments
Open

Document Piwik\Date format constants #9886

tsteur opened this issue Mar 7, 2016 · 0 comments
Labels
c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. c: Website matomo.org For issues related to our matomo.org website. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.

Comments

@tsteur
Copy link
Member

tsteur commented Mar 7, 2016

There are several constants available in https://github.com/piwik/piwik/blob/2.16.0/core/Date.php#L43-L53 that can be used with getLocalized() I believe.

I think when adding a doc block with a long description see https://github.com/piwik/developer-documentation/blob/master/generator/template/pages/class.twig#L26 for those constants they should appear on http://developer.piwik.org/api-reference/Piwik/Date

It would be nice to have some examples for them in the doc re how the format will look like

@tsteur tsteur added Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. c: Website matomo.org For issues related to our matomo.org website. labels Mar 7, 2016
@mattab mattab added this to the Mid term milestone Mar 31, 2016
@mattab mattab added the c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. label Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. c: Website matomo.org For issues related to our matomo.org website. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

2 participants