[REMOVE] Redundant locale information

Since momentJS is already loaded with `locale=True`, this is not needed anymore.
This commit is contained in:
Peter Pfeufer 2025-02-26 22:57:19 +01:00
parent 9b494106bc
commit 96204b29e8
No known key found for this signature in database

View File

@ -84,7 +84,6 @@
{% include "bundles/moment-js.html" with locale=True %}
{% get_datatables_language_static LANGUAGE_CODE as DT_LANG_PATH %}
{% get_momentjs_language_code LANGUAGE_CODE as MOMENTJS_LCODE %}
<script>
$(document).ready(function () {
@ -110,7 +109,6 @@
return data === null
? ''
: moment(data)
.locale('{{ MOMENTJS_LCODE }}')
.utc()
.format(MUMBLESTATS_DATETIME_FORMAT);
},
@ -127,7 +125,6 @@
return data === null
? ''
: moment(data)
.locale('{{ MOMENTJS_LCODE }}')
.utc()
.format(MUMBLESTATS_DATETIME_FORMAT);
},