Hi all,

 

I try to print future events in the left menus, but it looks that the test of the event start date is always evaluated to false.

 

#foreach($event in $xwiki.getDocument("Main.EventCalendar").getObjects("XWiki.CalendarEvent"))

#if ($event.getStartDate().getTime().after($xwiki.getDate()))

$event.startDate $event.endDate $event.description

 

#end

#end

 

Any idea or suggestion?

 

Regards,

Gaël Blondelle

EBM WebSourcing