Hy Bruno,

Each locale defines the dateformats in a different way.
OK I have learn that. But my real concern is why I don't get the translation for DE, de_DE, de_CH ?

You did not ask for an output in a localized format.

And you defined to return the default date/time format from this locale.
Btw: Using DATE_FULL as input where no input is given is quite useless. It will be ignored. ;-)
have misunderstood the documentation I'm thinking that if I don't give it automatically use time();

It uses time(), but why did you define DATE_FULL as input.. when you ask for the actual time as input it is useless to define another inputformat because time() will be caught as timestamp.

And when you want to have a fixed outputformat you should define it.
That's exactly why I ask a localized format ;-)))))
Otherwise the old php date would be sufficient no ?

No, you did not ask for a localized format.
You just asked for the date returned as object without time. Look at the API doc of the methods you used. Using __toString in an inplicit way does not mean that the date is localized. This depends on the default format of the used locale. And german does not include a localized month in the default format.

There is no error.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

Reply via email to