Page MenuHomePhabricator

"Latest X" filter in Turnilo picks the wrong dates
Closed, ResolvedPublic

Description

Steps to reproduce:

  • Open e.g. https://turnilo.wikimedia.org/#virtualpageviews_hourly/
  • Under "Filter" click on "Latest day" to view or change the timespan covered
  • The preselected date is not the latest day but in the past (e.g. right now I'm seeing "Mar 10 - Mar 11, 23:01pm" there)
  • Clicking on a different option under "Latest" also picks the wrong dates (e.g. "30D" results in "Feb 9 - Mar 11, 23:01pm" for me right now)

On the other hand, the data itself seems up to date when viewed with the "fixed" instead of "relative" option (i.e. one can manually select a more recent timespan and data up to the last day is displayed). So it might just be the UI somehow failing to obtain the correct current date and time.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 22 2019, 10:23 PM
fdans moved this task from Incoming to Wikistats Beta on the Analytics board.Mar 25 2019, 3:47 PM
Nuria added a subscriber: Nuria.Mar 25 2019, 4:23 PM

This happens on other datasources, could be a turnilo bug or rather missconfuration, need to check which one.

mforns triaged this task as Normal priority.Mar 25 2019, 4:23 PM

Ya, i think this is a turnilo bug on date calculations. We need to see if it present on latest version before upgrading.

Nuria closed this task as Resolved.Sun, Aug 25, 10:29 AM