<commit_before><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
      i18n:domain="kotti_events"
      metal:use-macro="api.macro('kotti:templates/view/master.pt')">

  <head tal:omit-tag="" metal:fill-slot="head-more">
<!-- <link rel="stylesheet" href="${request.static_url('kotti_events:static/style.css')}" type="text/css" /> -->
    <more tal:omit-tag="" metal:define-slot="head"></more>
  </head>

  <article metal:fill-slot="content" class="event-view content">
    <h1>${api.context.title}</h1>
    <p class="description">
      ${api.context.description}
    </p>

    <h2 tal:condition="upcoming_events" i18n:translate="">Upcoming events</h2>
    <ul tal:condition="upcoming_events">
      <li tal:repeat="event upcoming_events">
        <span>${api.format_date(event.start_date)}</span>
        <span>${api.format_time(event.start_time)}</span>
	-
        <span>${api.format_date(event.end_date)}</span>
        <span>${api.format_time(event.end_time)}</span>
	<br/>
        <a href="${api.url(event)}" title="${event.description}">
          ${event.title}
        </a>
      </li>
    </ul>

    <h2 tal:condition="past_events" i18n:translate="">Past events</h2>
    <ul tal:condition="past_events">
      <li tal:repeat="event past_events">
        <span>${api.format_date(event.start_date)}</span>
        <span>${api.format_time(event.start_time)}</span>
	-
        <span>${api.format_date(event.end_date)}</span>
        <span>${api.format_time(event.end_time)}</span>
	<br/>
        <a href="${api.url(event)}" title="${event.description}">
          ${event.title}
        </a>
      </li>
    </ul>

  </article>
</html><commit_msg>Show only given times and dates.<commit_after><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
      i18n:domain="kotti_events"
      metal:use-macro="api.macro('kotti:templates/view/master.pt')">

  <head tal:omit-tag="" metal:fill-slot="head-more">
<!-- <link rel="stylesheet" href="${request.static_url('kotti_events:static/style.css')}" type="text/css" /> -->
    <more tal:omit-tag="" metal:define-slot="head"></more>
  </head>

  <article metal:fill-slot="content" class="event-view content">
    <h1>${api.context.title}</h1>
    <p class="description">
      ${api.context.description}
    </p>

    <h2 tal:condition="upcoming_events" i18n:translate="">Upcoming events</h2>
    <ul tal:condition="upcoming_events">
      <li tal:repeat="event upcoming_events">
        <span>${api.format_date(event.start_date)}</span><span tal:condition="event.start_time">,
	  ${api.format_time(event.start_time)}</span>
	<span tal:condition="event.end_time or event.end_date" tal:replace="'-'"/>
        <span tal:condition="event.end_date">${api.format_date(event.end_date)}<span tal:condition="event.end_time" tal:replace="','"/></span>
	<span tal:condition="event.end_time">${api.format_time(event.end_time)}</span>
	<br/>
        <a href="${api.url(event)}" title="${event.description}">
          ${event.title}
        </a>
      </li>
    </ul>

    <h2 tal:condition="past_events" i18n:translate="">Past events</h2>
    <ul tal:condition="past_events">
      <li tal:repeat="event past_events">
        <span>${api.format_date(event.start_date)}</span><span tal:condition="event.start_time">,
	  ${api.format_time(event.start_time)}</span>
	<span tal:condition="event.end_time or event.end_date" tal:replace="'-'"/>
        <span tal:condition="event.end_date">${api.format_date(event.end_date)}<span tal:condition="event.end_time" tal:replace="','"/></span>
	<span tal:condition="event.end_time">${api.format_time(event.end_time)}</span>
	<br/>
        <a href="${api.url(event)}" title="${event.description}">
          ${event.title}
        </a>
      </li>
    </ul>

  </article>
</html>
{'fraction_non_alphanumeric': 0.2120308227690778, 'fraction_numerical': 0.010439970171513796, 'mean_word_length': 3.913308913308913, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 12}, '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': '3858636', 'n_tokens_mistral': 1477, 'n_tokens_neox': 1422, 'n_words': 170}