@anonymous-piwik-user opened this Issue on February 9th 2011

As stated in the summary, I only see one day when selecting a month view. The data export function also exports a single day.

From what I can see, this is a timezone problem (I'm east of UTC). It is not clear if the designer's intention were to show an UTC month or a localtime month, but there is some inconsistencies in date handling:
The month start date is taken as UTC first, then copied to some other object and associated to the local timezone, resulting in a local date being the last day of the previous month (for east of UTC). When we establish the list of target date, days are added one by one until the LOCAL TIME month changes: this is immediate.

The correct fix is not obvious: it depends on what is intended (target is UTC or localtime month). I have implemented a fix at the date conversion level, assuming locatime month range is targeted. May be it's not optimal (date handling should be probably changed and/or fully explained), but it allows a full month view.

@anonymous-piwik-user commented on February 9th 2011

Attachment: Patch for Piwik 1.1.1

@robocoder commented on February 13th 2011 Contributor

dupe of #1873?

@mattab commented on February 17th 2011 Member

(In [3920]) Fixing typo in date->setDay - thanks monnerat for patch Refs #2076

@mattab commented on February 17th 2011 Member

In current trunk, I think it is working, however the "Next" link at the bottom loads an empty page, but there are more visits. was it working in 1.1?

@mattab commented on February 17th 2011 Member

monnerat, if you could try current trunk and see if the bug if fixed, that would be very useful

@mattab commented on February 17th 2011 Member

(In [3922]) Fixes #2054, #2076, #1947

  • Visitor Log: offset now removed from Live API all together. As a result, Previous< in the datatable footer will return to the start, this could be improved but OK for now. Offset for next is the ID Visit as before
  • Live! widget: offset is now the timestamp, so the request hits the INDEX
  • This should fix most of the reordering bug: well now it should load on the top, the visits that have been updated since last refresh, and it deletes previous visit rows that are being updated
@anonymous-piwik-user commented on March 8th 2011

Piwik 1.2 fixes this issue for browser views, but not for exports ...

@anonymous-piwik-user commented on March 8th 2011

Forget the previous comment: export output seems to always be limited to 20 rows... I think it's another bug :-(

@robocoder commented on March 8th 2011 Contributor

Refer to #2145 for issues/regressions that require re-investigation.

This Issue was closed on March 8th 2011
Powered by GitHub Issue Mirror