[TYPO3-calendar] wrong date when week starts on sunday

Mario Matzulla mario at matzullas.de
Sun Sep 21 21:54:11 CEST 2014


Hi Tobias,

it looks like your template is not correct.

The newSmallMonth.tmpl should have a subpart like this:

<!-- ###MONTH_WEEKDAYS_SUBPART### start -->
<tr><th class="month-weeknums monthCorner"/><th class="month-weekdays
cal_day1">###MONDAY###</th><th class="month-weekdays
cal_day2">###TUESDAY###</th><th class="month-weekdays
cal_day3">###WEDNESDAY###</th><th class="month-weekdays
cal_day4">###THURSDAY###</th><th class="month-weekdays
cal_day5">###FRIDAY###</th><th class="month-weekdays
cal_day6">###SATURDAY###</th><th class="month-weekdays
cal_day7">###SUNDAY###</th></tr>
<!-- ###MONTH_WEEKDAYS_SUBPART### end -->

Regards,
Mario

Am 21.09.14 um 21:28 schrieb Tobias Marx:
> Hi!
> 
> I have a site running TYPO3 4.7.x and cal 1.5.8 (but the problem existed with 1.5.3, too).
> 
> On it’s front page it as a mini calendar which’s week starts on sunday (set via config and TypoScript). The header is set correctly (sunday as the first entry), but the dates don’t change. E.g. today it shows „Sunday 22th“, but it should be „Sunday, 21st“.
> 
> I’ve searched this mailing list, the web, looked into my template files and the source code, but can’t locate the problem. If anyone can give me a hint to what causes this problem or how to fix it, that would be much appreciated!
> 
> I’ve attached a screenshot of the calendar and my template file.
> 
> Here you can check out the site for yourself: http://www.katholische-citykirche-wuppertal.de/willkommen/startseite/
> 
> BR,
> Tobias
> 



More information about the TYPO3-project-calendar mailing list