From: Siebrand Mazeland Date: Sun, 25 Jan 2009 11:29:26 +0000 (+0000) Subject: Split date and time in 'usercreated' X-Git-Tag: 1.31.0-rc.0~43255 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=1a62005582ead06290d4c360162ce7580dd6177c;p=lhc%2Fweb%2Fwiklou.git Split date and time in 'usercreated' --- diff --git a/includes/specials/SpecialListusers.php b/includes/specials/SpecialListusers.php index 3839427680..b0a3df6f19 100644 --- a/includes/specials/SpecialListusers.php +++ b/includes/specials/SpecialListusers.php @@ -142,8 +142,9 @@ class UsersPager extends AlphabeticPager { $created = ''; # Some rows may be NULL if( $row->creation ) { - $d = $wgLang->timeanddate( wfTimestamp( TS_MW, $row->creation ), true ); - $created = ' (' . wfMsgHtml( 'usercreated', $d ) . ')'; + $d = $wgLang->date( wfTimestamp( TS_MW, $row->creation ), true ); + $t = $wgLang->time( wfTimestamp( TS_MW, $row->creation ), true ); + $created = ' (' . wfMsgHtml( 'usercreated', $d, $t ) . ')'; } wfRunHooks( 'SpecialListusersFormatRow', array( &$item, $row ) ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index d3e02941b5..b57631a4be 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2133,7 +2133,7 @@ Each row contains links to the first and second redirect, as well as the target 'listusers-editsonly' => 'Show only users with edits', 'listusers-creationsort' => 'Sort by creation date', 'usereditcount' => '$1 {{PLURAL:$1|edit|edits}}', -'usercreated' => 'Created on $1', +'usercreated' => 'Created on $1 at $2', 'newpages' => 'New pages', 'newpages-summary' => '', # do not translate or duplicate this message to other languages 'newpages-username' => 'Username:',