https://bugzilla.wikimedia.org/show_bug.cgi?id=25511

           Summary: TrackingsStats doesn't fully respect begin and end
                    arguments
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://wikimediafoundation.org/wiki/Special:Contributi
                    onTrackingStatistics?start=1286909700&end=1286916901&f
                    ormat=1
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: ContributionReporting
        AssignedTo: tf...@wikimedia.org
        ReportedBy: tf...@wikimedia.org


When using the TrackingStats Special page the begin and end arguments are not
fully respected as we transform them to

                $end_format = 'Ymd235959';

                $range[0] = strtotime( date( 'Ymd000000' , wfTimestamp(TS_UNIX,
$timestamp) ) );
                $range[1] = strtotime( date( $end_format , wfTimestamp(TS_UNIX,
$timestamp) ) );

no matter what they are set to. Thus a custom time at 00:00:00 and 23:59:59
works correctly but all others will get overridden.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to