Changed start time to use 24 hour format/ Fixed datetime picker Bug

This commit is contained in:
orbitroom 2016-02-25 02:16:03 -05:00
parent 8a8f2559e2
commit 394f578548
2 changed files with 4 additions and 4 deletions

View File

@ -42,9 +42,9 @@
<a href="http://evemaps.dotlan.net/system/{{ ops.system }}">{{ ops.system }}</a> <a href="http://evemaps.dotlan.net/system/{{ ops.system }}">{{ ops.system }}</a>
</td> </td>
<td style="width:150px" class="text-center">{{ ops.location }}</td> <td style="width:150px" class="text-center">{{ ops.location }}</td>
<td style="width:150px" class="text-center">{{ ops.start }}</td> <td style="width:150px" class="text-center" nowrap>{{ ops.start | date:"Y-m-d H:i" }}</td>
<td style="width:150px" class="text-center">{{ ops.duration }}</td> <td style="width:150px" class="text-center">{{ ops.duration }}</td>
<td style="width:150px" class="text-center">{{ ops.fc }}</td> <td style="width:150px" class="text-center">{{ ops.fc }}</td>
<td style="width:150px" class="text-center">{{ ops.details }}</td> <td style="width:150px" class="text-center">{{ ops.details }}</td>
<td style="width:150px" class="text-center">{{ ops.post_time}}</td> <td style="width:150px" class="text-center">{{ ops.post_time}}</td>
{% if perms.auth.optimer_management %} {% if perms.auth.optimer_management %}

View File

@ -37,7 +37,7 @@
{% block extra_script %} {% block extra_script %}
$('#id_fleet_time').datetimepicker({ $('#id_start').datetimepicker({
maskInput: true, maskInput: true,
format: 'Y-m-d H:i',minDate:0 format: 'Y-m-d H:i',minDate:0
}); });