allow multiple presentations on same date
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 4 Dec 2009 15:37:13 +0000 (16:37 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 4 Dec 2009 15:37:13 +0000 (16:37 +0100)
bin/calendar.pl

index f6bb503..3a5a100 100755 (executable)
@@ -70,7 +70,7 @@ foreach my $path ( glob 'media/*/hCalendar.html' ) {
                ]
        );
 
-       $vevents->{ $hcal->dtstart_iso } = $html;
+       $vevents->{ $hcal->dtstart_iso . $media } = $html;
 
        my $pubDate = $hcal->dtstart_iso;
        $pubDate =~ s{^(\d\d\d\d)(\d\d)(\d\d).*$}{$1-$2-$3};