Hi, I'm using calendarMX 1.4b ported to Nuke-Evo but my users are having a problem with the date arrangement the dates are arranged YY/MM/DD but my users are used to MM/DD/YY.
I looked through all configurations yet i couldn't find it.
Can someone helpfully tell me how to change it? ;)
Hi :)
you can change this in the language files.
/modules/Kalender/language/lang-YOURLANGUAGE.php
in this section:
####### locale time-format variables #######
if (PHP_OS=="WINNT" || PHP_OS=="WIN32") {
define("_CALLOCALE","en"); # lokale Einstellungen z.B. Datumsformat fuer Windows System!!
}
else {
define("_CALLOCALE","en_EN"); # lokale Einstellungen z.B. Datumsformat fuer Linux/Unix
}
define("_CALSHORTDATEFORMAT","%m/%d/%y");
define("_CALLONGDATEFORMAT","%A, %B %d, %Y");
define("_CALMONTHDATEFORMAT","%B %Y");
define("_CALINTERNATIONALDATES",0); //0 = mm/dd/yyyy, 1 = dd/mm/yyyy
define("_CALTIME24HOUR",0); // 1 = 24 hour time... 0 = AM/PM time
define("_CALTIMEFORMAT","%I:%M %p"); # ? AM/PM time
define("_CALWEEKBEGINN",0); # the First Day in the Week: 0 = Sunday, 1 = Monday
And here you can find the parameters:
http://www.php.net/manual/en/function.strftime.php
Thanks alot for the help :thumbup: