The generated date string are currently not modular; it is not really possible to add new date schemes (March, 8th instead of Wednesday 8th March for example)
We should have a proper date handling in:
This should be designed with i18n in mind.
in the API data output
Also, currently the XML output looks like example. To manipulate easily this data, one needs to have a "dateFrom" and a "dateTo" attribute in the XML element. Add these elements in the XML renderer, CSV.
(In ) - API CHANGE: the API for the function Piwik_AddWidget has changed. The new API is Piwik_AddWidget( $widgetCategory, $widgetName, $controllerName, $controllerAction, $customParameters = array()). See examples of calls in all the core Piwik plugins. This change was necessary to make widgets more modular (they now accept custom parameters).