<commit_before><?php
/**
 * This is the output for an event listing in icalendar format.
 * @package UNL_UCBCN_Frontend
 */
foreach ($this->events as $e) {
	$out = array();
	$out[] = 'BEGIN:VEVENT';
	//$out[] = 'SEQUENCE:5';
	if (isset($e->eventdatetime->starttime)) {
        $out[] = 'DTSTART;TZID=US/Central:'.date('Ymd\THis',strtotime($e->eventdatetime->starttime));
    }
	$out[] = 'DTSTAMP:'.date('Ymd\THis',strtotime($e->event->datecreated));
	$out[] = 'SUMMARY:'.strip_tags($e->event->title);
	$out[] = 'DESCRIPTION:'.strip_tags($e->event->description);
	//$out[] = 'URL:http://abc.com/pub/calendars/jsmith/mytime.ics';
	//$out[] = 'UID:EC9439B1-FF65-11D6-9973-003065F99D04';
	if (isset($eventdatetime->endtime)) {
    	$out[] = 'DTEND;TZID=US/Central:'.date('Ymd\THis',strtotime($e->eventdatetime->endtime));
    }
	$out[] = 'END:VEVENT';
	echo implode("\n",$out)."\n";
} ?><commit_msg>add icalendar spec required uid for vevent.<commit_after><?php
/**
 * This is the output for an event listing in icalendar format.
 * @package UNL_UCBCN_Frontend
 */
foreach ($this->events as $e) {
	$out = array();
	$out[] = 'BEGIN:VEVENT';
	//$out[] = 'SEQUENCE:5';
	if (isset($e->eventdatetime->starttime)) {
        $out[] = 'DTSTART;TZID=US/Central:'.date('Ymd\THis',strtotime($e->eventdatetime->starttime));
    }
    $out[] = 'UID:'.$e->eventdatetime->id;
	$out[] = 'DTSTAMP:'.date('Ymd\THis',strtotime($e->event->datecreated));
	$out[] = 'SUMMARY:'.strip_tags($e->event->title);
	$out[] = 'DESCRIPTION:'.strip_tags($e->event->description);
	//$out[] = 'URL:http://abc.com/pub/calendars/jsmith/mytime.ics';
	//$out[] = 'UID:EC9439B1-FF65-11D6-9973-003065F99D04';
	if (isset($eventdatetime->endtime)) {
    	$out[] = 'DTEND;TZID=US/Central:'.date('Ymd\THis',strtotime($e->eventdatetime->endtime));
    }
	$out[] = 'END:VEVENT';
	echo implode("\n",$out)."\n";
} ?>
{'fraction_non_alphanumeric': 0.24852388620504562, 'fraction_numerical': 0.026838432635534086, 'mean_word_length': 4.825, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7143391', 'n_tokens_mistral': 791, 'n_tokens_neox': 753, 'n_words': 100}