Changed agenda start/end time to djangos DATETIME_FORMAT.

This commit is contained in:
Emanuel Schuetze 2013-02-09 22:59:15 +01:00
parent d6084f7c8b
commit a51a296434
3 changed files with 5 additions and 4 deletions

View File

@ -25,10 +25,11 @@ table#menu-overview {
table#agendatime {
float: right;
width: 25%;
width: auto;
margin-bottom: 1em;
}
table#agendatime td {
padding: 5px;
white-space: nowrap;
}

View File

@ -29,7 +29,7 @@
</td>
{% endif %}
{% if perms.agenda.can_see_orga_items %}
<td {% if item.tooltip %}title="{% trans 'End' %}: {{ item.tooltip|date:"D d M Y H.i" }}"{% endif %}>
<td {% if item.tooltip %}title="{% trans 'End' %}: {{ item.tooltip|date:"DATETIME_FORMAT" }}"{% endif %}>
{% if item.duration %}
{{ item.duration }}h
{% endif %}

View File

@ -55,11 +55,11 @@
<table id="agendatime">
<tr>
<td>{% trans "Start of event" %}:</td>
<td>{{ start|date:"D d M Y H.i" }}h</td>
<td>{{ start|date:"DATETIME_FORMAT" }}</td>
</tr>
<tr>
<td>{% trans "Estimated end" %}:</td>
<td>{{ end|date:"D d M Y H.i" }}h</td>
<td>{{ end|date:"DATETIME_FORMAT" }}</td>
</tr>
</table>
{% endif %}