]> git.0d.be Git - panikweb.git/commitdiff
avoid capitals on month names
authorFrédéric Péters <fpeters@0d.be>
Sat, 7 Sep 2013 22:56:56 +0000 (00:56 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 7 Sep 2013 23:01:02 +0000 (01:01 +0200)
panikweb_templates/templates/news/inline.html
panikweb_templates/templates/news/search_result.html

index 1e47b29ad9d3553b4fb10aa3cb3441ae32653b5f..d3a94fecbabc8320f9ac3d257fb1ab4180958373 100644 (file)
@@ -10,7 +10,7 @@
                        <img class="logo left" width="60" height="60" src="{% static "img/defaultLogo.png" %}"/>
                {% endif %}
                {% if content.datetime %}
-                       <div class="smooth {% if class == "special" %}center marged {% endif %}">{{ content.datetime|date:"D m/M" }}</div>
+                       <div class="smooth {% if class == "special" %}center marged {% endif %}">{{ content.datetime|date:"D m/M"|lower }}</div>
                {% endif %}
                <div class="content">
                        <h5 class="title {% if not class %}ellipsis{% endif %}">{{ content.title }}</h5>
index 5c5640d9bd1deef0d7a23e0224028ecdccd97c1f..921b53bcf0bb5d4cee0388bb7213e6a9a2000fea 100644 (file)
@@ -2,6 +2,6 @@
        <span class="icon-bullhorn" ></span>
        <strong>{{ result.object.title }}</strong>
        {% if result.object.datetime %}
-               <div class="smooth">{{ result.object.datetime|date:"D m/M" }}</div>
+               <div class="smooth">{{ result.object.datetime|date:"D m/M"|lower }}</div>
        {% endif %}
 </a>