* Added Language::userDate(), Language::userTime() and Language::userTimeAndDate...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 15 Oct 2011 09:32:03 +0000 (09:32 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 15 Oct 2011 09:32:03 +0000 (09:32 +0000)
commita2c2cb5687f98fc9f796063f1f3ef66cf091cfc8
treee747c4487b1de55431eecc93d3180f6673eb1bf5
parent3a07a052c9d34ad30c14783c2ca6832da7cfb4ed
* Added Language::userDate(), Language::userTime() and Language::userTimeAndDate() as new versions of respectively Language::date(), Language::time() and Language::timeanddate(), which take a User object in the second parameter to get time correction and format instead of having to do this when calling the methods and not wanting to user $wgUser's parameters.
* Moved Language::userAdjust() near other related function
* Updated ENotif stuff to use that functions so that the date format is not taken from the sending user but the receiver
* Removed $PAGEEDITDATEANDTIME parameter, unsed and not present in impersonal notification
* Also fixed the debug line in UserMailer::send()
includes/UserMailer.php
languages/Language.php