r44995 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r44994
|
r44995
|
r44996
>
Date:
00:27, 24 December 2008
Author:
aaron
Status:
ok
Tags:
Comment:
Use $days, the *actual* interval, not the max range, for deciding date formatting
Modified paths:
/trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php
—
—
@@ -411,7 +411,7 @@
412
412
$n++;
413
413
# Label point?
414
414
if( $n >= $int || !count($dataX) ) {
415
- $p = ($this->period > 31) ? "{$month}-".substr( $year, 2, 2 ) : "{$month}/{$day}";
415
+ $p = ($days > 31) ? "{$month}-".substr( $year, 2, 2 ) : "{$month}/{$day}";
416
416
$n = 0;
417
417
} else {
418
418
$p = "";
Status & tagging log
19:05, 30 December 2008
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r44995
[
removed:
new
added:
ok]