Switched to compatible $dbr->timestamp() call rather than silly date() call for timestamps - should support Postgres now.
This commit is contained in:
parent
43b2ca821a
commit
da90007ce8
2 changed files with 2 additions and 3 deletions
|
@ -24,8 +24,7 @@ class ContributionScores extends SpecialPage
|
|||
|
||||
if ( $days > 0 ) {
|
||||
$date = mktime() - (60*60*24*$days);
|
||||
$dateString = date("Ymd",$date)."000000";
|
||||
|
||||
$dateString = $dbr->timestamp($date);
|
||||
$sql .= "WHERE rev_timestamp > '$dateString' ";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue