mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-13 10:36:25 +01:00
Update timerboard javascript (#688)
* Fix and update javascript Reformatted javascript. Updated javascript to reduce duplicate code. * Replace countdown and dateformat with moment Improves i18n Fixes #685
This commit is contained in:
4
stock/templates/bundles/moment-js.html
Normal file
4
stock/templates/bundles/moment-js.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment.min.js"></script>
|
||||
{% if locale and LANGUAGE_CODE != 'en' %}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/locale/{{ LANGUAGE_CODE }}.js"></script>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user