https://bugzilla.wikimedia.org/show_bug.cgi?id=34727

       Web browser: ---
             Bug #: 34727
           Summary: Results on Special:Search should display user time
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: easy
          Severity: normal
          Priority: Unprioritized
         Component: Special pages
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: lejo...@telia.com
    Classification: Unclassified
   Mobile Platform: ---


Search results on Special:Search displays time of last edit using UTC, at least
on Commons where I have different user preferences, and logged-out on
sv.wikipedia which otherwise uses CET.
I think this time should be displayed using user preferred time. That will make
it consistent with the same time displayed at the bottom of articles and in
page histories.

I think it should be easy to fix by changing line 649 of SpecialSearch.php[1]
from:

 $date = $lang->timeanddate( $timestamp ); 

to

 $date = $lang->timeanddate( $timestamp, true ); 


[1]
https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/specials/SpecialSearch.php?revision=108712&view=markup

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to