@Starker3 opened this Issue on May 2nd 2021

Expected Behavior

When viewing the visits log for example for the 7th of February, we would expect that visits that occur at or after midnight (Start of the the next day) to not be show in the visits log.

Current Behavior

Any visits that are recorded at exactly Midnight which is the start of the day for the 8th of February for example are shown in the visits log for the date of the 7th, but is showing the correct date for the next day:
image

Possible Solution

According to the code here:
https://github.com/matomo-org/matomo/blob/2b35b46a0988f8c3b6f848c59be8d7d918965a52/plugins/Live/Model.php#L601-L603
This seems to be intentional but for unknown reasons.

Steps to Reproduce (for Bugs)

  1. View visits log where visits are recorded at exactly midnight for a specific day

Context

Your Environment

  • Matomo Version: 4.2.1
  • PHP Version: 7.4.16
  • Server Operating System: Linux
  • Additionally installed plugins: NA
@tsteur commented on May 2nd 2021 Member

kind of refs https://github.com/matomo-org/matomo/issues/9053 https://github.com/matomo-org/matomo/issues/11165

Might have been added 10 years ago to fix some timezone issues but it's not 100% clear.

Powered by GitHub Issue Mirror