~sirodoht/mataroa

e42f35cc8577f71991482b314b66bd941923e60f — Theodore Keloglou 28 days ago 9d76def
change time datetime to iso date
M main/templates/main/blog_index.html => main/templates/main/blog_index.html +1 -1
@@ 26,7 26,7 @@
            {% if p.published_at %}
            <small>
                <time datetime="{{ p.published_at|date:'F j, Y' }}" itemprop="datePublished">
                <time datetime="{{ p.published_at|date:'Y-m-d' }}" itemprop="datePublished">
                    {{ p.published_at|date:'F j, Y' }}
                </time>
                {% if not p.is_published %}

M main/templates/main/image_detail.html => main/templates/main/image_detail.html +1 -1
@@ 8,7 8,7 @@

    <div class="images-item-byline">
        <a class="images-item-back" href="{% url 'image_list' %}">« all images</a>
        — Uploaded on <time datetime="{{ image.uploaded_at|date:'F j, Y' }}">{{ image.uploaded_at|date:'F j, Y' }}</time>
        — Uploaded on <time datetime="{{ image.uploaded_at|date:'Y-m-d' }}">{{ image.uploaded_at|date:'F j, Y' }}</time>
        | <a href="{% url 'image_update' image.slug %}">Edit image</a>
        | <a href="{% url 'image_delete' image.slug %}">Del</a>
    </div>

M main/templates/main/page_detail.html => main/templates/main/page_detail.html +1 -1
@@ 14,7 14,7 @@

    {% if request.user.is_authenticated and request.subdomain == user.username %}
    <div class="pages-item-byline">
        Last updated on <time datetime="{{ page.updated_at|date:'F j, Y' }}">{{ page.updated_at|date:'F j, Y' }}</time>
        Last updated on <time datetime="{{ page.updated_at|date:'Y-m-d' }}">{{ page.updated_at|date:'F j, Y' }}</time>
        | <a href="{% url 'page_update' page.slug %}">Edit page</a>
        | <a href="{% url 'page_delete' page.slug %}">Del</a>
    </div>

M main/templates/main/post_detail.html => main/templates/main/post_detail.html +3 -3
@@ 17,11 17,11 @@

        <div class="posts-item-byline">
            {% if post.published_at and post.is_published %}
            Published on <time datetime="{{ post.published_at|date:'F j, Y' }}" itemprop="datePublished">{{ post.published_at|date:'F j, Y' }}</time>
            Published on <time datetime="{{ post.published_at|date:'Y-m-d' }}" itemprop="datePublished">{{ post.published_at|date:'F j, Y' }}</time>
            {% elif post.published_at and not post.is_published %}
            SCHEDULED for <time datetime="{{ post.published_at|date:'F j, Y' }}" itemprop="datePublished">{{ post.published_at|date:'F j, Y' }}</time>
            SCHEDULED for <time datetime="{{ post.published_at|date:'Y-m-d' }}" itemprop="datePublished">{{ post.published_at|date:'F j, Y' }}</time>
            {% else %}
            DRAFT — Last updated on <time datetime="{{ post.updated_at|date:'F j, Y' }}" itemprop="dateModified">{{ post.updated_at|date:'F j, Y' }}</time>
            DRAFT — Last updated on <time datetime="{{ post.updated_at|date:'Y-m-d' }}" itemprop="dateModified">{{ post.updated_at|date:'F j, Y' }}</time>
            {% endif %}
            {% if request.user.is_authenticated and request.subdomain == request.user.username %}
            | <a href="{% url 'post_update' post.slug %}">Edit post</a>