View Issue Details

IDProjectCategoryView StatusLast Update
0002014HTML & PERLBug Reportpublic2014-05-13 15:57
ReporterSoulweaver Assigned ToDerIdiot  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0002014: Stats for the "History" tab are calculated badly
DescriptionThe way the stats for an user's "History" tab are calculated currently is completely broken. Episodes that are added/watched/stored/deleted are oftentimes added under the previous month or week, which causes problems (most importantly in the bar graph in the Stats page, which is utterly useless because of this).

Example: for me, the "months" for watched episodes listed for 2010 are:
27.01.2010, 28.02.2010, 07.04.2010, 10.05.2010, 10.06.2010, 14.07.2010, 13.08.2010, 13.09.2010, 15.10.2010, 15.11.2010, 17.12.2010. Due to the way the starting point of a month seems to "slide", multiple problems occur. For instance, here, most of the watched episodes in February go under the date "27.01.2010", which is by the stats page graph interpreted as January. Then the "month starting point" slides one day further, to the last day of February, and then a few days more to 7th of April, completely skipping March. Due to that, in the stats page graph, there isn't a watched bar for March at all! (And all of the episodes actually seen in March make up the bar for February instead!) There's a similar apparent "no episodes watched" month in November 2012 for me, which is just as false as the first one.

If you go and ask anyone in the street how a "month" should be interpreted in any statistic table, they'd most probably tell you it's a period that begins on the first day of the month and ends on the last, not some unspecific period that might start arbritrarily from 0 to 30 days late and last 30-or-so days.

Not sure about the "stored" and "deleted" lists, but seeing as each file on mylist holds dates for adding the file on mylist and watching it, fixing those two at least shouldn't be too difficult.
TagsNo tags attached.

Activities

Soulweaver

2013-01-12 17:23

reporter   ~0003329

Sorry, November 2011*. Doesn't change the problem either way anyway.

DerIdiot

2014-05-13 15:57

administrator   ~0003361

and productive

Issue History

Date Modified Username Field Change
2013-01-12 17:16 Soulweaver New Issue
2013-01-12 17:23 Soulweaver Note Added: 0003329
2014-05-13 15:42 DerIdiot Status new => resolved
2014-05-13 15:42 DerIdiot Resolution open => fixed
2014-05-13 15:42 DerIdiot Assigned To => DerIdiot
2014-05-13 15:57 DerIdiot Note Added: 0003361