From: Raimond Spekking Date: Fri, 16 Oct 2009 06:59:59 +0000 (+0000) Subject: Split time and date for better i18n X-Git-Tag: 1.31.0-rc.0~39261 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=e1a26e3948b59c580d91078d0580d3f9032a9245;p=lhc%2Fweb%2Fwiklou.git Split time and date for better i18n Translatewiki uses this since months but it was was never done in core?! --- diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index f5f6211940..6103a936b9 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -259,8 +259,11 @@ class HistoryPage { if( $rev->getComment() == '' ) { global $wgContLang; $title = wfMsgForContent( 'history-feed-item-nocomment', - $rev->getUserText(), - $wgContLang->timeanddate( $rev->getTimestamp() ) ); + $rev->getUserText(), + $wgContLang->timeanddate( $rev->getTimestamp() ), + $wgContLang->date( $rev->getTimestamp() ), + $wgContLang->time( $rev->getTimestamp() ) + ); } else { $title = $rev->getUserText() . wfMsgForContent( 'colon-separator' ) .