Skip to content

Commit

Permalink
time bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ehallein committed Jan 15, 2024
1 parent 499f4e5 commit cd0b32b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wamtram2/templates/wamtram2/observation_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2>Observation {{ object.observation_date|date:"j M Y" }}</h2>
<td><a href="{% url 'wamtram2:turtle_detail' observation.turtle.pk %}">{{ observation.turtle.pk }}</a></td>
<tr>
<th>Date observed</th>
<td>{{ object.observation_date|date:"j M Y" }} {{ object.observation_time|date:"H:m" }} </td>
<td>{{ object.observation_date|date:"j M Y" }} {{ object.observation_time|date:"H:i" }} </td>
</tr>
<tr>
<th>Entered by</th>
Expand Down
2 changes: 1 addition & 1 deletion wamtram2/templates/wamtram2/trtentrybatch_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
<tr>
<td><a href="{% url 'wamtram2:trtdataentry' obj.data_entry_id %}">{{ obj.data_entry_id }}</a></td>
<td>{% if obj.observation_id %}<a href="{% url 'wamtram2:observationdetail' pk=obj.observation_id.pk %}">{{ obj.observation_id.pk }}</a>{% endif %}</td>
<td>{{ obj.observation_date|date:"j M Y H:i" }}</td>
<td>{{ obj.observation_date|date:"j M Y" }} {{ obj.observation_time|date:"H:i" }}</td>
<td>{% if obj.turtle_id %}<a href="{% url 'wamtram2:turtle_detail' obj.turtle_id %}">{{obj.turtle_id}}</a>{% endif %}</td>
<td>{% if obj.recapture_left_tag_id %}{{ obj.recapture_left_tag_id }} {% endif %}
{% if obj.recapture_left_tag_id_2 %}{{ obj.recapture_left_tag_id_2 }} {% endif %}
Expand Down
2 changes: 1 addition & 1 deletion wamtram2/templates/wamtram2/trtturtles_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h3>Observations</h3>
<tbody>
{% for observation in observations %}
<tr>
<td><a href="{% url 'wamtram2:observationdetail' pk=observation.observation_id %}">{{ observation.observation_date|date:"D, j M Y H:i" }}</a></td>
<td><a href="{% url 'wamtram2:observationdetail' pk=observation.observation_id %}">{{ observation.observation_date|date:"j M Y" }} {{ observation.observation_time|date:"H:i" }}</a></td>
<td>{{ observation.reporter_person }}</td>
<td>{{ observation.measurer_person }}</td>
<td>{{ observation.place_code }}</td>
Expand Down

0 comments on commit cd0b32b

Please sign in to comment.