I tried the CALx and was almost going crazy - I think the kalender enhanced is a much better snippet.
It didn’t work for me only to set the &lang (to `de`in my case), I had to change the setlocale completely. I read a lot in this thread, I think, the kalender version changed, so the line numbers don’t fit, you have to search it in the code. In my version in the kalender_enhanced.php file it’s about line 106. Below this
setlocale (LC_TIME, $locale);
setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
Now it works correctly.
Quote from: FuryDE at Jun 01, 2007, 09:32 AM
Quote from: islander at Jun 01, 2007, 09:27 AM
Any ideas on how to get Monday to be the starting day of the week?
Nope, not yet. But I will have a look at that when I have some time for it.
Here I’ve done this: In about line 288, where the table is created, look for this line:
$firstday = date("w",strtotime($mm."/1/".$yyyy));
and change it to:
$firstday = date("w",strtotime($mm."/1/".$yyyy)-(24*60*60));
Now the first day of the week always is Monday.
But now you have to change the rows, too, because August 2009 for example ends with Sunday 30th.