Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8173
bug30232.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 11:53 PM
2014-11-21 23:53:21 (UTC+0)
Size
734 B
Referenced Files
None
Subscribers
None
bug30232.patch
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7698
Default Alt Text
bug30232.patch (734 B)
Attached To
Mode
T32232: add current time to message wlnote on Special:Watchlist
Attached
Detach File
Event Timeline
Log In to Comment