[turba] Date field formatting

Jan Schneider jan at horde.org
Fri Sep 12 14:10:06 UTC 2008


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

> At the risk of having made a mistake in my configuration, I can't  
> find how to change the date formatting.
>
> Currently, after searching a contact in an address book, their birth  
> date is displayed as 'DD-MM-YY' instead of the 'YYYY-MM-DD' format  
> that I configured in the global options. The dates are stored as  
> 'YYYY-MM-DD' in the database alright, so it looks like the  
> formatting is deliberately changed.

Dates in turba fields can't be configured individually, you can set a  
global default in config/attributes.php though. The default setting is  
using the default format of the user's locale.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the turba mailing list