I18Nv2_Locale::setDateFormat()
-- Set date format
Description
Set the date format to use.
Either a I18Nv2_DATETIME constant or a custom date format.
Paramètres
- entier $format
a I18Nv2_DATETIME constant
- booléen $custom
whether to use a defined custom format
Valeur retournée
Retourne TRUE en cas de succès,
un objet PEAR_Error en cas d'échec.
Note
Cette fonction ne peut pas être appelée de façon statique.