ZF-6597: Zend_Locale_Data - de.xml

Issue Type: Bug Created: 2009-05-10T09:18:29.000+0000 Last Updated: 2009-05-10T13:00:16.000+0000 Status: Resolved Fix version(s): - 1.8.1 (12/May/09)

Reporter: Sonntag (sunday) Assignee: Thomas Weidner (thomas) Tags: - Zend_Locale

Related issues: Attachments:


The following returns an result different from the manual:

$date = new Zend_Date(time()); echo $date->toString('EE, dd.MM.YYYY');

I expected something like: Mo, 01.05.2009, but instead it returns: Mo., 01.05.2009 (note the dot after the name of the day)

Since the manual (…) says 'EE' returns the localized day of the week (two chars) it actual returns two chars and the dot.


This should be changed and the dot should be removed, since I does not need the dot in the result and there is no way to prevent it. If I need the dot I would explicit add it to the format string.

Please change it.


Posted by Thomas Weidner (thomas) on 2009-05-10T09:32:21.000+0000

Note that "localized daynames" are dependend on the language. They are localized. This means for one language they are 2 chars, for others 3 chars and for some even 4 chars.

When you need other informations then eighter change the used date constant or change the used information type.

Additionally, please note that this data is used by multiple projects and we are not allowed to change it's content. It's origin is defined from unicode which collect this informations. So when you think there are problems with the content please fill in a issue at unicode so they can fix it.

Posted by Thomas Weidner (thomas) on 2009-05-10T13:00:10.000+0000

Changed description with r15501

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.