Page MenuHomePhabricator

bug30232.patch

Authored By
bzimport
Nov 21 2014, 11:53 PM
Size
734 B
Referenced Files
None
Subscribers
None

bug30232.patch

Index: includes/specials/SpecialWatchlist.php
===================================================================
--- includes/specials/SpecialWatchlist.php (revision 94047)
+++ includes/specials/SpecialWatchlist.php (working copy)
@@ -308,9 +308,13 @@
$lang->time( $timestamp, true )
) . '<br />';
} elseif( $values['days'] > 0 ) {
+ $timestamp = wfTimestampNow();
$wlInfo = wfMsgExt( 'wlnote', 'parseinline',
$lang->formatNum( $numRows ),
- $lang->formatNum( round( $values['days'] * 24 ) )
+ $lang->formatNum( round( $values['days'] * 24 ) ),
+ $lang->timeAndDate( $timestamp, true ),
+ $lang->date( $timestamp, true ),
+ $lang->time( $timestamp, true )
) . '<br />';
}

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7698
Default Alt Text
bug30232.patch (734 B)

Event Timeline