Split date and time in 'usercreated'
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 25 Jan 2009 11:29:26 +0000 (11:29 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 25 Jan 2009 11:29:26 +0000 (11:29 +0000)
includes/specials/SpecialListusers.php
languages/messages/MessagesEn.php

index 3839427..b0a3df6 100644 (file)
@@ -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 ) );
index d3e0294..b57631a 100644 (file)
@@ -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:',