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

Tobias Marx tmarx at digitalprojects.com
Mon Sep 22 16:20:00 CEST 2014


Hi Mario!

Somehow my attachment got corrupted. I do have the "###MONTH_WEEKDAYS_SUBPART###". Please take a second look. I've added my template again :)

BR,
Tobias

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: marx_newSmallMonth.txt
URL: <http://lists.typo3.org/pipermail/typo3-project-calendar/attachments/20140922/1e277697/attachment.txt>
-------------- next part --------------



Am 21.09.2014 um 22:00 schrieb typo3-project-calendar-request at lists.typo3.org:

> 
> Message: 2
> Date: Sun, 21 Sep 2014 21:54:11 +0200
> From: Mario Matzulla <mario at matzullas.de>
> Subject: Re: [TYPO3-calendar] wrong date when week starts on sunday
> To: typo3-project-calendar at lists.typo3.org
> Message-ID:
> 	<mailman.1.1411329251.4115.typo3-project-calendar at lists.typo3.org>
> Content-Type: text/plain; charset=windows-1252
> 
> 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