diff --git a/observations/locale/bg/LC_MESSAGES/django.po b/observations/locale/bg/LC_MESSAGES/django.po index db3efa648b9bb3ac713041e793743ef2c048e6bf..4731b1690b95c7458c3e28ab1f89176b8a6887b9 100644 --- a/observations/locale/bg/LC_MESSAGES/django.po +++ b/observations/locale/bg/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-06 13:36+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -40,7 +40,7 @@ msgstr "" #: templates/observations/detail.html:36 templates/observations/index.html:67 #: templates/observations/index_old.html:62 -msgid "Time of observation" +msgid "Date of observation" msgstr "" #: templates/observations/detail.html:40 diff --git a/observations/locale/bg/LC_MESSAGES/djangojs.po b/observations/locale/bg/LC_MESSAGES/djangojs.po index a9ed1e023c98cee8a6c4f5edd76bde814aad547e..610729fbd25f352331a3af8654a21f9b2d27d2ab 100644 --- a/observations/locale/bg/LC_MESSAGES/djangojs.po +++ b/observations/locale/bg/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-03 14:01+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/observations/locale/bs/LC_MESSAGES/django.po b/observations/locale/bs/LC_MESSAGES/django.po index 1f7fa66a246c63afcbc522b651672887020f53a6..cbe5916d6cd43e6b98c8cd8cbbc589f70c0b8731 100644 --- a/observations/locale/bs/LC_MESSAGES/django.po +++ b/observations/locale/bs/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-06 13:36+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -41,7 +41,7 @@ msgstr "" #: templates/observations/detail.html:36 templates/observations/index.html:67 #: templates/observations/index_old.html:62 -msgid "Time of observation" +msgid "Date of observation" msgstr "" #: templates/observations/detail.html:40 diff --git a/observations/locale/bs/LC_MESSAGES/djangojs.po b/observations/locale/bs/LC_MESSAGES/djangojs.po index d48ba98a41dee137883e0f97868e853d3a0f3cad..e4fa42be5763657df5ca997ef2398cb7c45a890a 100644 --- a/observations/locale/bs/LC_MESSAGES/djangojs.po +++ b/observations/locale/bs/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-03 14:01+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/observations/locale/de/LC_MESSAGES/django.po b/observations/locale/de/LC_MESSAGES/django.po index db3efa648b9bb3ac713041e793743ef2c048e6bf..4731b1690b95c7458c3e28ab1f89176b8a6887b9 100755 --- a/observations/locale/de/LC_MESSAGES/django.po +++ b/observations/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-06 13:36+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -40,7 +40,7 @@ msgstr "" #: templates/observations/detail.html:36 templates/observations/index.html:67 #: templates/observations/index_old.html:62 -msgid "Time of observation" +msgid "Date of observation" msgstr "" #: templates/observations/detail.html:40 diff --git a/observations/locale/de/LC_MESSAGES/djangojs.po b/observations/locale/de/LC_MESSAGES/djangojs.po index 7618b36618e3403fee006d3a71a0dfcdc5652a47..fe07d3224251ae5533328991d7b2c7e7c3053a31 100644 --- a/observations/locale/de/LC_MESSAGES/djangojs.po +++ b/observations/locale/de/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-03 14:01+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/observations/locale/fi/LC_MESSAGES/django.po b/observations/locale/fi/LC_MESSAGES/django.po index db3efa648b9bb3ac713041e793743ef2c048e6bf..4731b1690b95c7458c3e28ab1f89176b8a6887b9 100644 --- a/observations/locale/fi/LC_MESSAGES/django.po +++ b/observations/locale/fi/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-06 13:36+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -40,7 +40,7 @@ msgstr "" #: templates/observations/detail.html:36 templates/observations/index.html:67 #: templates/observations/index_old.html:62 -msgid "Time of observation" +msgid "Date of observation" msgstr "" #: templates/observations/detail.html:40 diff --git a/observations/locale/fi/LC_MESSAGES/djangojs.po b/observations/locale/fi/LC_MESSAGES/djangojs.po index a9ed1e023c98cee8a6c4f5edd76bde814aad547e..610729fbd25f352331a3af8654a21f9b2d27d2ab 100644 --- a/observations/locale/fi/LC_MESSAGES/djangojs.po +++ b/observations/locale/fi/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-03 14:01+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/observations/locale/nb/LC_MESSAGES/django.mo b/observations/locale/nb/LC_MESSAGES/django.mo index 1d078e5476f1c908cb6a2c2f2b004ea2dac95378..dd5c8aff24103c45080a796510f29378c22406b8 100755 Binary files a/observations/locale/nb/LC_MESSAGES/django.mo and b/observations/locale/nb/LC_MESSAGES/django.mo differ diff --git a/observations/locale/nb/LC_MESSAGES/django.po b/observations/locale/nb/LC_MESSAGES/django.po index 7fb1f1bdaa90223e6e83880563ff55490537ddab..0cb163e88c872646a18f71414dd67746923b2b12 100755 --- a/observations/locale/nb/LC_MESSAGES/django.po +++ b/observations/locale/nb/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-06 13:36+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: 2024-06-06 13:42+0200\n" "Last-Translator: \n" "Language-Team: \n" @@ -41,8 +41,8 @@ msgstr "Kultur" #: templates/observations/detail.html:36 templates/observations/index.html:67 #: templates/observations/index_old.html:62 -msgid "Time of observation" -msgstr "Observasjonstidspunkt" +msgid "Date of observation" +msgstr "Observasjonsdato" #: templates/observations/detail.html:40 msgid "Observation data" diff --git a/observations/locale/nb/LC_MESSAGES/djangojs.po b/observations/locale/nb/LC_MESSAGES/djangojs.po index e332890feff81d7d05f875640f5c09770dd351c7..8b3f93b88cf2b2f7308d9f1f1a14e86aa75b6a4e 100644 --- a/observations/locale/nb/LC_MESSAGES/djangojs.po +++ b/observations/locale/nb/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-03 14:01+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/observations/locale/vi/LC_MESSAGES/django.po b/observations/locale/vi/LC_MESSAGES/django.po index 67e42da6a6847898b098c8077a0071e28fbf3f23..28da2c7a793d86a3d02915b76aa7a77af34acfcb 100644 --- a/observations/locale/vi/LC_MESSAGES/django.po +++ b/observations/locale/vi/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-06 13:36+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -40,7 +40,7 @@ msgstr "" #: templates/observations/detail.html:36 templates/observations/index.html:67 #: templates/observations/index_old.html:62 -msgid "Time of observation" +msgid "Date of observation" msgstr "" #: templates/observations/detail.html:40 diff --git a/observations/locale/vi/LC_MESSAGES/djangojs.po b/observations/locale/vi/LC_MESSAGES/djangojs.po index 48aabc027156d46b6be62a9dc23b7d9da6a0aa55..0bf1eb77b2f7bde9421a76c06a2a544b89838d4b 100644 --- a/observations/locale/vi/LC_MESSAGES/djangojs.po +++ b/observations/locale/vi/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-03 14:01+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/observations/locale/zh_Hans/LC_MESSAGES/django.mo b/observations/locale/zh_Hans/LC_MESSAGES/django.mo index dd5cef254fb3a3969da7110a7b55553ee9f2425d..20ea5971a71c780cf6050a6a672e61b6aec053e9 100644 Binary files a/observations/locale/zh_Hans/LC_MESSAGES/django.mo and b/observations/locale/zh_Hans/LC_MESSAGES/django.mo differ diff --git a/observations/locale/zh_Hans/LC_MESSAGES/django.po b/observations/locale/zh_Hans/LC_MESSAGES/django.po index 4a97c2e185219b99eb66c8c6f6bd7495dc28ea91..0107c33f67eaf73b561a43a21703d7f1c2c6f783 100755 --- a/observations/locale/zh_Hans/LC_MESSAGES/django.po +++ b/observations/locale/zh_Hans/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-06 13:36+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: 2016-10-27 11:26+0200\n" "Last-Translator: \n" "Language-Team: \n" @@ -39,7 +39,7 @@ msgstr "作物" #: templates/observations/detail.html:36 templates/observations/index.html:67 #: templates/observations/index_old.html:62 -msgid "Time of observation" +msgid "Date of observation" msgstr "观测时间" #: templates/observations/detail.html:40 diff --git a/observations/locale/zh_Hans/LC_MESSAGES/djangojs.po b/observations/locale/zh_Hans/LC_MESSAGES/djangojs.po index a98c5d57479952b8ea5eadf90186c864ac0fb4a6..1cf683474f13ba0dad7a002ecbc21b064257bd91 100644 --- a/observations/locale/zh_Hans/LC_MESSAGES/djangojs.po +++ b/observations/locale/zh_Hans/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-03 14:01+0200\n" +"POT-Creation-Date: 2024-06-16 09:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/observations/static/observations/js/observationList.js b/observations/static/observations/js/observationList.js index 2cbc5b2386e82ee4deacf4e67ee429263c0adbc9..61afbebbc8e93bbc7df2928c34507ffe957483a5 100644 --- a/observations/static/observations/js/observationList.js +++ b/observations/static/observations/js/observationList.js @@ -346,7 +346,7 @@ var renderObservationTable = function(data) tbodyHTML.push("<tr>"); - tbodyHTML.push("<td>" + moment(obs.timeOfObservation).format("YYYY-MM-DD HH:mm ZZ") + "</td>"); + tbodyHTML.push("<td>" + moment(obs.timeOfObservation).format("YYYY-MM-DD") + "</td>"); tbodyHTML.push("<td>" + obs.organismName + "</td>"); tbodyHTML.push("<td>" + obs.cropOrganismName + "</td>"); tbodyHTML.push("<td>" + obs.observationHeading + "</td>"); diff --git a/observations/templates/observations/detail.html b/observations/templates/observations/detail.html index 7b25c343799167cf83f0be5f3116cc7d832b9dab..1c5654da7f958c3ff89851ab50909d5aed5f7edd 100755 --- a/observations/templates/observations/detail.html +++ b/observations/templates/observations/detail.html @@ -33,7 +33,7 @@ <p id="organismName"></p> <h4>{% trans "Crop" %}</h4> <p id="cropOrganismName"></p> - <h4>{% trans "Time of observation" %}</h4> + <h4>{% trans "Date of observation" %}</h4> <p id="timeOfObservation"></p> <h2 id="observationHeading"></h2> <p id="observationText"></p> @@ -65,7 +65,7 @@ //console.log(observation); document.getElementById("organismName").innerHTML = getLocalizedOrganismName(observation.organism) + " <i>(" + observation.organism.latinName + ")</i>"; document.getElementById("cropOrganismName").innerHTML = getLocalizedOrganismName(observation.cropOrganism) + " <i>(" + observation.cropOrganism.latinName + ")</i>"; - document.getElementById("timeOfObservation").innerHTML = getStandardFormattedTimestamp(observation.timeOfObservation); + document.getElementById("timeOfObservation").innerHTML = getStandardFormattedDate(observation.timeOfObservation); //document.getElementById("observerName").innerHTML = observation.user.firstName + " " + observation.user.lastName; document.getElementById("observationHeading").innerHTML = observation.observationHeading; document.getElementById("observationText").innerHTML = observation.observationText; diff --git a/observations/templates/observations/index.html b/observations/templates/observations/index.html index 77955ab5dda6d22fd55766e7f7a74aa600625d80..4c800cdf10c81fb24ea55f74470defe2dfc17390 100644 --- a/observations/templates/observations/index.html +++ b/observations/templates/observations/index.html @@ -64,7 +64,7 @@ <div class="table-responsive"> <table class="table table-striped" id="observationTable"> <thead> - <th>{% trans "Time of observation" %}</th> + <th>{% trans "Date of observation" %}</th> <th>{% trans "Organism" %}</th> <th>{% trans "Crop" %}</th> <th>{% trans "Heading" %}</th> diff --git a/observations/templates/observations/index_old.html b/observations/templates/observations/index_old.html index 580cb9df26d29bc88a694b7585f908b8badad6b0..1a9359924b7e122f76923ada00d4c22a0addafe1 100755 --- a/observations/templates/observations/index_old.html +++ b/observations/templates/observations/index_old.html @@ -59,7 +59,7 @@ <table class="table"> <thead> <tr> - <th>{% trans "Time of observation" %}</th> + <th>{% trans "Date of observation" %}</th> <th>{% trans "Organism" %}</th> <th>{% trans "Crop" %}</th> <th>{% trans "Heading" %}</th>