[TYPO3-calendar] Event duration?
Sebastian Reinhardt
s.reinhardt at sevensix.eu
Sat Mar 23 08:32:07 CET 2013
>
> in such a case I would make use of a module marker and do the
> calculation on php.
>
> Regards,
> Mario
I have just figured it out, was easier than i thought (at the end ;) ).
making an own marker and change the start_time and end_time from unix
format (seconds) to minutes (dividing by 60) and use a bunch of "prioriCalc"
event.kursdauer = COA
event.kursdauer {
10 = TEXT
10 {
field= end_time
wrap = | / 60
prioriCalc = 1
}
20 = TEXT
20.value = -
30 = TEXT
30 {
field= start_time
wrap = | / 60
prioriCalc = 1
}
stdWrap.prioriCalc = 1
}
regards
Sebastian
More information about the TYPO3-project-calendar
mailing list