HomePhabricator

Adjust datetime in email confirmation email

Authored by Umherirrender.

Description

Adjust datetime in email confirmation email

Use the correct timezone when setting the expiry timestamp in the email
confirmation.
Using Language::userDateAndTime to avoid indirect use of $wgUser, so it
is always the timezone used of the user the message gets send for.

Bug: T29158
Change-Id: Ieb74b72a4255d9d652f828d1879882dff4b45379