https://bugzilla.wikimedia.org/show_bug.cgi?id=31352
--- Comment #10 from Aaron Schulz <[email protected]> 2011-10-06 06:27:45 UTC --- LogPage has the code $wgLang->translateBlockExpiry( $params[1] ) which uses the current time for any relative expire values. This code is old...implying that such relative values were likely converted to absolutes in the past. The API does: wfTimestamp( TS_ISO_8601, strtotime( $params[0], wfTimestamp( TS_UNIX, $ts ) ) ); ...with $ts as log_timestamp. This avoids the problem of dates changing as it is relative to when the block happened. To fix this one can update the DB (making them absolute using log_timestamp as the base time) or change LogPage to be more like the API. -- 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
