Quote:
Yesterday at 09:57 AM ivanmcp said this in Post #1370
Lol, calendar has gone weird again. 8th of June does not belong anywhere.
|
hm - I changed (beside of the daynames) two lines and it is now working for me:
first
find:
Code:
$today = vbdate('m-d',time());
replace:
Code:
$today = vbdate('d-m-Y',time());
(this is my date-format, as entered in the CP and I have the "today"-hack installed...)
second
find:
Code:
if (!$bbuserinfo['startofweek']) {
$bbuserinfo['startofweek'] = '1';
}
replace:
Code:
if (!$bbuserinfo['startofweek']) {
$bbuserinfo['startofweek'] = '2';
}
Now the start of the weeks is monday, as used in germany.
and the calculation of the weeks is working now.