-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
yurik@svn.wikimedia.org wrote:
- static function decodeExpiry( $expiry ) {
- static function decodeExpiry( $expiry, $timestampType = TS_MW ) { if ( $expiry == '' || $expiry == Block::infinity() ) { return Block::infinity(); } else {
return wfTimestamp( TS_MW, $expiry );
} }return wfTimestamp( $timestampType, $expiry );
I don't really like this... it seems a bit odd to have it return a different timestamp format than the one that is used for all internal processing.
- -- brion vibber (brion @ wikimedia.org)