From 1a62005582ead06290d4c360162ce7580dd6177c Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 25 Jan 2009 11:29:26 +0000 Subject: [PATCH] Split date and time in 'usercreated' --- includes/specials/SpecialListusers.php | 5 +++-- languages/messages/MessagesEn.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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:', -- 2.20.1