mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
[REMOVE] Redundant locale information
Since momentJS is already loaded with `locale=True`, this is not needed anymore.
This commit is contained in:
parent
9b494106bc
commit
96204b29e8
@ -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);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user