I just installed v1.3 and when I go into Settings and try to change the default report date to any of the following values:
-Previous 7 days (not including today)
-Previous 30 days (not including today)
-Last 7 days (including today)
-Last 30 days (including today)
I get an error afterward when I try to load any site dashboard:
The date ‘today’ is not a correct date range. It should have the following format: ‘lastN’, ‘previousN’, ‘YYYY-MM-DD,YYYY-MM-DD’.
Manually changing the ‘today’ value in the URL to one of those specified formats doesn’t do anything, it just changes back to ‘today’ and throws the error page.
Not a big deal but I was wondering if anyone else is experiencing this bug.
I thought it may have been due to my (CentOS 5) server’s php version (5.1.2) but I successfully upgraded it to 5.2.16 and restarted the server but I still get the error.[/quote]
I did a clean installation of 1.3 (rc4) and I got this error too in IE8.
I chose custom date range, from 2011-04-21 to 2011-04-21 (as i could only pick these 2 days from the calendar, it does not allow me to pick anything else, since its my first day of installation of 1.3)
I picked 'Period - Date Range’
I clicked on Apply Date Range
It threw me to a url that writes something like this --> http://localhost/piwik/index.php?module=CoreHome&action=index&idSite=1&period=range&date=today
The page displays:
the date’ today’ is not a correct date range. It should have the following format: ‘lastN’, ‘previousN’, ‘YYYY-MM-DD, YYYY-MM-DD’.
Another point to note:
I note that the calendar of custom date range does not allow you to pick dates before I installed piwik, nor dates after today… so it kind of prevents me searching for a real range… it restricts me to dates between date of installation to today, and nothing else is allowed to be picked… hmmm not very flexible.