Month view... day`s order

Begonnen von pyro, 07 April 2005, 07:56:51

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

pyro

HI!

I have calendar month view starting in sunday but i must have monday...
i changed in language.php define("_CALWEEKBEGINN",1); # the First Day in the Week: 0 = Sunday, 1 = Monday
but nothing happends...

sorry my poor english..

ps. i use KalenderMx-1.4.b & phpnuke 7.5

my language.php
####### locale time-format variables #######
if (PHP_OS=="WINNT"||PHP_OS=="WIN32") {
define("_CALLOCALE","ee");   # lokale Einstellungen z.B. Datumsformat für Windows System!!
}
else {
define("_CALLOCALE","et_EE"); # lokale Einstellungen z.B. Datumsformat für Linux/Unix
}
define("_CALSHORTDATEFORMAT","%d/%m/%y");
define("_CALLONGDATEFORMAT","%A, %B %d, %Y");
define("_CALMONTHDATEFORMAT","%B %Y");
define("_CALINTERNATIONALDATES",1);    //0 = mm/dd/yyyy, 1 = dd/mm/yyyy
define("_CALTIME24HOUR",1);  // 1 = 24 hour time... 0 = AM/PM time
define("_CALTIMEFORMAT","%H:%M"); # ? AM/PM time
define("_CALWEEKBEGINN",1); # the First Day in the Week: 0 = Sunday, 1 = Monday

pyro


pyro

i found problem  ;D
ihave miscofigurated language file
####### DAYS OF THE WEEK ########
define("_CALFIRSTDAY","Sun");
define("_CALSECONDDAY","Mon");
define("_CALTHIRDDAY","Tues");
define("_CALFOURTHDAY","Wed");
define("_CALFIFTHDAY","Thurs");
define("_CALSIXTHDAY","Fri");
define("_CALSEVENTHDAY","Sat");
define("_CALLONGFIRSTDAY","Sunday");
define("_CALLONGSECONDDAY","Monday");
define("_CALLONGTHIRDDAY","Tuesday");
define("_CALLONGFOURTHDAY","Wednesday");
define("_CALLONGFIFTHDAY","Thursday");
define("_CALLONGSIXTHDAY","Friday");
define("_CALLONGSEVENTHDAY","Saturday");

but must be
####### DAYS OF THE WEEK ########
define("_CALFIRSTDAY","Mon");
define("_CALSECONDDAY","Tues");
define("_CALTHIRDDAY","Wed");
define("_CALFOURTHDAY","Thurs");
define("_CALFIFTHDAY","Fri");
define("_CALSIXTHDAY","Sat");
define("_CALSEVENTHDAY","Sun");
define("_CALLONGFIRSTDAY","Monday");
define("_CALLONGSECONDDAY","Tuesday");
define("_CALLONGTHIRDDAY","Wednesday");
define("_CALLONGFOURTHDAY","Thursday");
define("_CALLONGFIFTHDAY","Friday");
define("_CALLONGSIXTHDAY","Saturday");
define("_CALLONGSEVENTHDAY","Sunday");


now i`m pleased.. thanks for excellent kalendar system