Just saw a visit in visitorlog from outside of selceted date range Was first look in the morning and date-range was "day": maybe it has something to do with some kind of auto set date to today... please see attachment.
Is your website in the same timezone? At what time in your timezone did you request the data? (and which timezone is your website in?)
timezone of website is Europe/Berlin. Piwik and website run on same server. Request was around 7:45 in the morning.
Was the browser maybe open over night? Meaning, before viewing that page, did you completely reload the page or open it directly?
I just had a similar problem before. I noticed when Piwik thinks it is viewing today then the log will only show
>= timeStart but not
>=timeStart,<=timeEnd and in my case there were already some visits logged "in the future". My case might be a bit different but related code is here: https://github.com/piwik/piwik/blob/3.0.0-b5/plugins/Live/Model.php#L495 Maybe the timezone is not correctly applied when checking
Date::factory($dateString)->toString('Y-m-d') != Date::factory('now', $currentTimezone)->toString(). I have seen code parts where we needed to do instead
Date::factory($dateString)->setTimezone($timezone)->toString('Y-m-d') instead of
Also I think in the first
Date::factory($dateString)->toString('Y-m-d') the timezone is missing.
still there in 3.03b1 same visit is shown on different dates (27.03. and 28.03 (today))