[horde] Setting date and time preferences

Jens Wahnes wahnes at uni-koeln.de
Tue Apr 21 16:47:35 UTC 2015


Hi,

I'm trying to figure out how the date and time related preferences work
exactly in Horde, but so far, it's still unclear to me. Is there some
documentation about this topic available that I missed? Browsing the
wiki on wiki.horde.org didn't yield anything useful.

First of all, some of the (default) values seem to be set according to
the current locale (depending on the language chosen on login), but
others aren't. For instance, the default date format seems to be set
depending on the locale, but the time format isn't (i.e., it remains
with 12 hour time even with locales that would ordinarily use 24 hour
time). Is that on purpose?

Also, it seems I can't set default preferences that affect these values
like the way I can do it for other values.
That is, putting

$_prefs['timezone']['value'] = "Europe/Berlin";
$_prefs['twentyFour']['value'] = true;

into horde/config/prefs.local.php seems to change nothing at all, while
individual user's preferences with these values do work.

So, what's the right way to set defaults for these values?

Finally, Horde's "first_week_day" preference does not seem to have any
effect on the way the calendar is displayed in Kronolith. Only
Kronolith's own preference called "week_start_monday" does actually
influence the way the calendar is displayed. Is that on purpose or did
it just not occur to anybody before? From a user's perspective, I think
having a default for Kronolith's "week_start_monday" that essentially
says "Use Horde's settings" would be easier to manage.

Regards,
Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.horde.org/archives/horde/attachments/20150421/0d9a7be3/attachment.bin>


More information about the horde mailing list