Forums / Bug Reports / [Not a Bug] Incorrectly set dates when Specials programming 1.3.9h

[Not a Bug] Incorrectly set dates when Specials programming 1.3.9h

Locked

Started by forum on 8 Nov 2010, 9:25 AM · Views: 980

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
8 Nov 2010, 9:25 AM
#1
forum avatar

forum

New Zenner

Join Date:
Oct 2010
Posts:
23
Plugin Contributions:
0

[Not a Bug] Incorrectly set dates when Specials programming 1.3.9h

I am using 1.3.9h after upgrade from 1.3.8a and when programming Specials, date is not accepted well.
For example, I set
Start date to : 08.11.2010
and
End date to: 30.11.2010

After save, I see:
Start dat: 11.08.2010
End date: 30.11.2036

What is wrong?

9 Nov 2010, 9:47 AM
#2
forum avatar

forum

New Zenner

Join Date:
Oct 2010
Posts:
23
Plugin Contributions:
0

Re: [Not a Bug] Incorrectly set dates when Specials programming 1.3.9h

Nobody encounter this? Or, how to fix it?

9 Nov 2010, 12:29 PM
#4
forum avatar

forum

New Zenner

Join Date:
Oct 2010
Posts:
23
Plugin Contributions:
0

Re: [Not a Bug] Incorrectly set dates when Specials programming 1.3.9h

Dear Stevesh,
thank you for reply, therad you pointed, helped.
For others, if you change from default date (mm/dd/yyyy) to dd/mm/yyyy, you need also change substr lines (for your language in includes and admin folders) to below:
return substr($date, 0, 2) . substr($date, 3, 2) . substr($date, 6, 4);
return substr($date, 6, 4) . substr($date, 3, 2) . substr($date, 0, 2);

DrByte, you can close this thread as solved.