[horde] last login display: always UTC ?

Michael M Slusarz slusarz at horde.org
Tue Jul 9 00:19:23 UTC 2013


Quoting Andreas Schulze <sca at andreasschulze.de>:

> Hello,
>
> don't know it it's intensional to display last login time in UTC but  
> my users complain about that.
>
> I looked in ~horde/lib/Block/Time.php and found
>         // Set the timezone variable, if available.
>         $GLOBALS['registry']->setTimeZone();
>
> I added this to ~horde/lib/LoginTasks/Task/LastLogin.php (after line 44)
> and now the login time is also displayed in the timezone set by the user.

Yes, this makes sense.  Added to Horde 5.1.2.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list