http://translatewiki.net/w/i.php?title=Support&oldid=
1243738#split_date_and_time
if( $rev->getComment() == '' ) {
global $wgContLang;
+ $ts = $rev->getTimestamp();
$title = wfMsgForContent( 'history-feed-item-nocomment',
- $rev->getUserText(),
- $wgContLang->timeanddate( $rev->getTimestamp() ) );
+ $rev->getUserText(),
+ $wgContLang->timeanddate( $ts ),
+ $wgContLang->date( $ts ),
+ $wgContLang->time( $ts ) );
} else {
$title = $rev->getUserText() . wfMsgForContent( 'colon-separator' ) . FeedItem::stripComment( $rev->getComment() );
}
# Revision feed
'history-feed-item-nocomment' => "Title for each revision when viewing the RSS/Atom feed for a page history:
-
-'''$1''' - user name
-
-'''$2''' - date/time",
+* '''$1''' - user name,
+* '''$2''' - date/time,
+* '''$3''' - date,
+* '''$4''' - time.",
# Revision deletion
'rev-delundel' => 'Link in page history for oversight',