<commit_before>{% extends "container.dj.html" %}
{% block title %}{{ talk.title }} - Talk - Bonfire Manager{% endblock %}
{% load bootstrap3 %}
{% block container %}
    <div class="row">
        <div class="col-md-12">
            <h2>{{ talk.title }}</h2>
            <p>{{ talk.description }}</p>
            <h3>Where</h3>
            <p>{{ talk.room.name|default:"Unassigned" }}</p>
            <h3>When</h3>
            <p>From <time datetime="{{ talk.timeslot.start|date:"c" }}">{{ talk.timeslot.start }}</time> to <time datetime="{{ talk.timeslot.end|date:"c" }}">{{ talk.timeslot.end }}</time></p>
        </div>
    </div>
{% endblock %}
<commit_msg>Now displays time difference to talk start and end using Django. As per issue #4 discussion<commit_after>{% extends "container.dj.html" %}
{% block title %}{{ talk.title }} - Talk - Bonfire Manager{% endblock %}
{% load bootstrap3 %}
{% block container %}
    <div class="row">
        <div class="col-md-12">
            <h2>{{ talk.title }}</h2>
            <p>{{ talk.description }}</p>
            <h3>Where</h3>
            <p>{{ talk.room.name|default:"Unassigned" }}</p>
            <h3>When</h3>
            <p>Starts in <time datetime="{{ talk.timeslot.start|date:"c" }}">{{ talk.timeslot.start|timeuntil }}</time> and ends <time datetime="{{ talk.timeslot.end|date:"c" }}">{{ talk.timeslot.end|timeuntil:talk.timeslot.start }}</time> after.</p>
        </div>
    </div>
{% endblock %}

{'fraction_non_alphanumeric': 0.21703296703296704, 'fraction_numerical': 0.01304945054945055, 'mean_word_length': 2.7263427109974425, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '914500', 'n_tokens_mistral': 509, 'n_tokens_neox': 475, 'n_words': 106}