From cd0b32b2409a5b0fa4d4a028b56d393cfc59f230 Mon Sep 17 00:00:00 2001 From: Evan Hallein Date: Mon, 15 Jan 2024 16:26:35 +0800 Subject: [PATCH] time bug fix --- wamtram2/templates/wamtram2/observation_detail.html | 2 +- wamtram2/templates/wamtram2/trtentrybatch_detail.html | 2 +- wamtram2/templates/wamtram2/trtturtles_detail.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wamtram2/templates/wamtram2/observation_detail.html b/wamtram2/templates/wamtram2/observation_detail.html index 14e984b42..138876354 100644 --- a/wamtram2/templates/wamtram2/observation_detail.html +++ b/wamtram2/templates/wamtram2/observation_detail.html @@ -25,7 +25,7 @@

Observation {{ object.observation_date|date:"j M Y" }}

{{ observation.turtle.pk }} Date observed - {{ object.observation_date|date:"j M Y" }} {{ object.observation_time|date:"H:m" }} + {{ object.observation_date|date:"j M Y" }} {{ object.observation_time|date:"H:i" }} Entered by diff --git a/wamtram2/templates/wamtram2/trtentrybatch_detail.html b/wamtram2/templates/wamtram2/trtentrybatch_detail.html index fb676dac1..8c11eeec8 100644 --- a/wamtram2/templates/wamtram2/trtentrybatch_detail.html +++ b/wamtram2/templates/wamtram2/trtentrybatch_detail.html @@ -146,7 +146,7 @@ {{ obj.data_entry_id }} {% if obj.observation_id %}{{ obj.observation_id.pk }}{% endif %} - {{ obj.observation_date|date:"j M Y H:i" }} + {{ obj.observation_date|date:"j M Y" }} {{ obj.observation_time|date:"H:i" }} {% if obj.turtle_id %}{{obj.turtle_id}}{% endif %} {% 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 %} diff --git a/wamtram2/templates/wamtram2/trtturtles_detail.html b/wamtram2/templates/wamtram2/trtturtles_detail.html index 684cb07d7..c8e0d8adf 100644 --- a/wamtram2/templates/wamtram2/trtturtles_detail.html +++ b/wamtram2/templates/wamtram2/trtturtles_detail.html @@ -116,7 +116,7 @@

Observations

{% for observation in observations %} - {{ observation.observation_date|date:"D, j M Y H:i" }} + {{ observation.observation_date|date:"j M Y" }} {{ observation.observation_time|date:"H:i" }} {{ observation.reporter_person }} {{ observation.measurer_person }} {{ observation.place_code }}