Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Don't load the datepicker locale files for English

Roland Geider565e0cb21959
diff --git a/wger/core/templates/template.html b/wger/core/templates/template.html
index aefffc34b..b1de35323 100644
--- a/wger/core/templates/template.html
+++ b/wger/core/templates/template.html
@@ -53,7 +53,9 @@
<script src="{% static 'js/nutrition.js' %}" type="text/javascript"></script>
{% endcompress %}
+ {% if language.short_name != 'en' %}
<script src="{% static datepicker_i18n_path %}" type="text/javascript"></script>
+ {% endif %}
{% block header %}{% endblock %}