1
When a module uses the calendarscript included in XOOPS the date is displayed as year, month, day.
For instance the news module uses this, you can select a date for publishing and date is displayed as told above.
Now I changed in calendarjs.php the following lines:
le="color: #000000"><?php // date formats
le="color: #000000"><?php Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd";
le="color: #000000"><?php Calendar._TT["TT_DATE_FORMAT"] = "y-mm-dd";
I changed these lines to y-dd-mm and this results in display of date to 2008-05-02 instead of standard 2008-02-05
But now the problem, by doing this the calendarscript now comes up with the month 05 instead of 02 so you have to scroll back 3 months. I thought if I change date display then the script would pick up properly.
Anyone konws how to solve this?
Be smart, stay smart. Stay one step ahead...