[horde] last login display: always UTC ?

Andreas Schulze sca at andreasschulze.de
Mon Jul 8 10:00:27 UTC 2013


Zitat von Arjen de Korte <arjen+horde at de-korte.org>:

> Citeren Andreas Schulze <sca at andreasschulze.de>:
>> don't know it it's intensional to display last login time in UTC
so it is not :-)

> If all your users are in the same timezone,
> you may enter this in 'horde/config/prefs.local.php'.

That's exactly what I did:

# cat ~horde/config/prefs.local.php
<?php
$_prefs['timezone']['value'] = 'Europe/Berlin';
$_prefs['twentyFour']['value'] = true;
$_prefs['date_format']['value'] = '%A, %d. %B %Y';
$_prefs['time_format']['value'] = '%R';
$_prefs['first_week_day']['value'] = 1;

With this setting the portal block show localtime and last_login is UTC.

Andreas



More information about the horde mailing list