Index: trunk/phase3/includes/specials/SpecialBlockList.php |
— | — | @@ -246,7 +246,7 @@ |
247 | 247 | |
248 | 248 | switch( $name ) { |
249 | 249 | case 'ipb_timestamp': |
250 | | - $formatted = $this->getLang()->timeanddate( $value ); |
| 250 | + $formatted = $this->getLang()->timeanddate( $value, /* User preference timezome */ true ); |
251 | 251 | break; |
252 | 252 | |
253 | 253 | case 'ipb_target': |
— | — | @@ -272,7 +272,7 @@ |
273 | 273 | break; |
274 | 274 | |
275 | 275 | case 'ipb_expiry': |
276 | | - $formatted = $this->getLang()->formatExpiry( $value ); |
| 276 | + $formatted = $this->getLang()->formatExpiry( $value, /* User preference timezome */ true ); |
277 | 277 | if( $this->getUser()->isAllowed( 'block' ) ){ |
278 | 278 | if( $row->ipb_auto ){ |
279 | 279 | $links[] = Linker::linkKnown( |
Index: trunk/phase3/languages/Language.php |
— | — | @@ -3541,7 +3541,7 @@ |
3542 | 3542 | : $infinity; |
3543 | 3543 | } else { |
3544 | 3544 | return $format === true |
3545 | | - ? $this->timeanddate( $expiry ) |
| 3545 | + ? $this->timeanddate( $expiry, /* User preference timezome */ true ) |
3546 | 3546 | : wfTimestamp( $format, $expiry ); |
3547 | 3547 | } |
3548 | 3548 | } |