[horde] Setting default date format.

Vijay Sankar vsankar at foretell.ca
Thu Sep 28 19:02:22 UTC 2017




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' );
> 
> Could someone share the correct syntex?
> 
> -- 
> P.V.Anthony
> 

I believe it has to be done in php.ini. 

Unfortunately I don't have ssh access to my mail server at the moment but can send you the details later if necessary. 


More information about the horde mailing list