Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Content Editor Discussions /

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Strange display of Date-Field in V2.4.1.-CMS after saving page


Reply


2 Posts   965 Views

Avatar
toopy

Community Member, 8 Posts

30 July 2010 at 11:30pm

For some edited dates in the CMS-Page like e.g. January 1st 2010, the date after saving shows as January 1st 2009 in the CMS, while the date in the published page shows correct (the stored value is ok).

I use the German date format “dd.MM.YY” and the time format “hh:ss” in the CMS-profile settings.

This happens for:
1st, 2nd, 3rd of Jan. 2010, but not for 4th Jan. 2010 (e.g. 01.01.10 -> 01.01.09)
1st, 2nd, of Jan. 2011, but not for 3rd Jan. 2011 (e.g. 01.01.11 -> 01.01.10)
1st of Jan. 2011, but not for 2nd Jan. 2012 (e.g. 01.01.12 -> 01.01.11)
Ok for 1st of Jan. 2013

Now I’m asking, is this an effect of some settings on my Windows-Pc or could it be related to a bug in the software? Did anyone of you experience similar problems?. I have no explanaition for this!

phpMyAdmin:
ID   Date      Author
13   2010-01-01   NULL

ArticlePage.php
class ArticlePage extends Page {
static $db = array(
'Date' => 'Date',
'Author' => 'Text'
);

Avatar
md283aa

Community Member, 1 Post

30 December 2010 at 5:05am

I have the same problem. Do you have found a solution so far?

Cheers