[horde] Setting default date format.

SZÉPE Viktor viktor at szepe.net
Thu Sep 28 19:11:09 UTC 2017


Idézem/Quoting Vijay Sankar <vsankar at foretell.ca>:

> Sent from my iPhone
>> On Sep 28, 2017, at 12:13, P.V.Anthony <anthony at mindmedia.com.sg> wrote:
>>
>> Hi,
>>
>> I am trying to set the default date format for horde.
>>
>> In the file horde/config/prefs.local.php I added the following but  
>> it does not work.
>>
>> // set display dates
>> $_prefs['date_format'][value] = '%d/%m/%Y';
>> $_prefs['date_format_mini'][value] = '%d/%m/%Y';
>>
>> I also tried the following but does not work.
>>
>> // set display dates
>> $_prefs['date_format']= array( 'value' => '%d/%m/%Y' );
>> $_prefs['date_format_mini']= array( 'value' => '%d/%m/%Y' );

It has to be set in /config/prefs.local.php
You can see examples in the top comment of prefs.php

Maybe adding quotes helps

$_prefs['date_format_mini']['value'] = '%d/%m/%Y';



SZÉPE Viktor, honlap üzemeltetés
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
-- 
+36-20-4242498  sms at szepe.net  skype: szepe.viktor
Budapest, III. kerület






More information about the horde mailing list