mirror of https://github.com/snachodog/mybuddy.git
Remove hardcoded time formats in list views (#93)
This commit is contained in:
parent
094908f8bc
commit
1a31a27974
|
@ -29,7 +29,7 @@
|
|||
<td class="text-center">{{ change.wet|bool_icon }}</td>
|
||||
<td class="text-center">{{ change.solid|bool_icon }}</td>
|
||||
<td>{{ change.get_color_display }}</td>
|
||||
<td>{{ change.time|date:'n/j/y G:i' }}</td>
|
||||
<td>{{ change.time }}</td>
|
||||
<td class="text-center">
|
||||
<div class="btn-group btn-group-sm" role="group" aria-label="{% trans "Actions" %}">
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
{% endif %}
|
||||
</td>
|
||||
<td>{{ feeding.duration|duration_string }}</td>
|
||||
<td>{{ feeding.start|date:'n/j/y G:i' }}</td>
|
||||
<td>{{ feeding.start }}</td>
|
||||
<td class="text-center">
|
||||
<div class="btn-group btn-group-sm" role="group" aria-label="{% trans "Actions" %}">
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
<tr>
|
||||
<th scope="row"><a href="{% url 'core:child' sleep.child.slug %}">{{ sleep.child }}</a></th>
|
||||
<td>{{ sleep.duration|duration_string }}</td>
|
||||
<td>{{ sleep.start|date:'n/j/y G:i' }}</td>
|
||||
<td>{{ sleep.end|date:'n/j/y G:i' }}</td>
|
||||
<td>{{ sleep.start }}</td>
|
||||
<td>{{ sleep.end }}</td>
|
||||
<td class="text-center">{{ sleep.nap|bool_icon }}</td>
|
||||
<td class="text-center">
|
||||
<div class="btn-group btn-group-sm" role="group" aria-label="{% trans "Actions" %}">
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
{% for timer in object_list %}
|
||||
<tr>
|
||||
<th scope="row"><a href="{% url 'core:timer-detail' timer.id %}">{{ timer }}</a></th>
|
||||
<td>{{ timer.start|date:'n/j/y G:i' }}</td>
|
||||
<td>{{ timer.start }}</td>
|
||||
<td>{{ timer.duration|duration_string }}</td>
|
||||
<td>{{ timer.end|date:'n/j/y G:i' }}</td>
|
||||
<td>{{ timer.end }}</td>
|
||||
<td>{{ timer.active|bool_icon }}</td>
|
||||
<td>{{ timer.user }}</td>
|
||||
</tr>
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
<tr>
|
||||
<th scope="row"><a href="{% url 'core:child' tummytime.child.slug %}">{{ tummytime.child }}</a></th>
|
||||
<td>{{ tummytime.duration|duration_string }}</td>
|
||||
<td>{{ tummytime.start|date:'n/j/y G:i' }}</td>
|
||||
<td>{{ tummytime.end|date:'n/j/y G:i' }}</td>
|
||||
<td>{{ tummytime.start }}</td>
|
||||
<td>{{ tummytime.end }}</td>
|
||||
<td>{{ tummytime.milestone }}</td>
|
||||
<td class="text-center">
|
||||
<div class="btn-group btn-group-sm" role="group" aria-label="{% trans "Actions" %}">
|
||||
|
|
Loading…
Reference in New Issue