Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -513,8 +513,7 @@ |
514 | 514 | */ |
515 | 515 | function formatDate( $ts ) { |
516 | 516 | global $wgLang; |
517 | | - $ts = preg_replace( "|^(....)(..)(..)(..)(..)(..)|", "$1-$2-$3 $4:$5:$6", $wgLang->userAdjust( $ts ) ); |
518 | | - return date( 'd M Y, H:i', strtotime( $ts ) ); |
| 517 | + return $wgLang->sprintfDate( 'd M Y, H:i', $wgLang->userAdjust( $ts ) ); |
519 | 518 | } |
520 | 519 | |
521 | 520 | |