I try to get the correct date from datepicker but the $period->getDateStart()->toString() always returns the wrong date ! Even Piwik_Common::getRequestVar(‘date’) returns the wrong date.
Does anyone already had the same problem and found a way how to solve it ?
Note: $period->getDateEnd()->toString() returns the correct value.
Note2: It seems that controller.php which invoke the function containing $period->getDateStart()->toString() pass the wrong dates.
Note3: The controller pass definitly pass definitetly the wrong date an period to the api.php