X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcarnet%2Fcalendar.tpl;h=a7056069469aef06a8342533631596a7d1a36104;hb=b545e664faee207d101019fdd067d21bd3c2c682;hp=0e3b20741d2078036aeb2c67e5148581256f9803;hpb=f2ee531a20c901fa04f4e50f0c846eb1531f6ad1;p=platal.git diff --git a/templates/carnet/calendar.tpl b/templates/carnet/calendar.tpl index 0e3b207..a705606 100644 --- a/templates/carnet/calendar.tpl +++ b/templates/carnet/calendar.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2007 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -29,11 +29,12 @@ X-WR-TIMEZONE:Europe/Paris {foreach from=$events item=e} BEGIN:VEVENT DTSTAMP:{$e.timestamp|date_format:"%Y%m%dT%H%M%SZ"} -DTSTART;VALUE=DATE:{$e.date|date_format:"%Y%m%d"} -DTEND;VALUE=DATE:{$e.tomorrow|date_format:"%Y%m%d"} -UID:anniv-{$e.date|date_format:"%Y%m%d"}-{$e.bestalias}@polytechnique.org +DTSTART;VALUE=DATE:{$e.date} +DTEND;VALUE=DATE:{$e.tomorrow} +UID:anniv-{$e.date}-{$e.forlife}@{#globals.mail.domain#} +RRULE:FREQ=YEARLY;INTERVAL=1 CLASS:PUBLIC {display_ical name="summary" value=$e.summary} END:VEVENT {/foreach} -END:VCALENDAR \ No newline at end of file +END:VCALENDAR{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}