[TYPO3-calendar] List View: Today - Tomorrow
Stephan Helten
stephan.helten at engage.de
Mon Aug 1 17:54:31 CEST 2011
Hi,
when setting in the list view tab:
Start time: Today
End time: Tomorrow
Only events of today are listed.
This is because the implementation of tomorrow is
(cal/controller/class.tx_cal_dateParser.php):
case 'tomorrow':
$date->setMinute(0);
$date->setSecond(0);
$date->setHour(0);
$date->addSeconds(86400);
break;
I think this is slightly misleading.
Shouldn't it be?:
case 'tomorrow':
$date->setMinute(0);
$date->setSecond(0);
$date->setHour(0);
$date->addSeconds(172800);
break;
When speaking about tomorrow, the user associates the whole day.
If I'm wrong, how can I configure a list containing events of today and
tomorrow (till the end of the day)?
regards
Stephan Helten
More information about the TYPO3-project-calendar
mailing list