Forums / Setup & design / datetime: wrong weekday

datetime: wrong weekday

Author Message

Christiane Kloss

Wednesday 02 March 2005 9:36:06 am

Hi,

I tried to format a date with the following code:

{$node.object.data_map.date.data_int|datetime(custom,"%l, %d. %F %Y")}

The output is 'Donnerstag, 05. Januar 2005' (Thursday, 05. January 2005)

The date is right - except for the weekday:
January 5th 2005 was a WEDNESDAY...

How could this happen????

Łukasz Serwatka

Wednesday 02 March 2005 11:21:04 pm

Hi Christiane,

This was a bug in 3.5.
More info here
http://ez.no/community/bugs/datetime_and_mondayfirst
http://ez.no/community/bugs/italian_weekdays_right_shifted_by_one_in_date

I recommend upgrade your eZ publish to 3.5.1 version.
http://ez.no/community/news/ez_publish_3_5_1

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog