Skip to content

Commit

Permalink
- fixed error with first day of the week format for moment.js which c…
Browse files Browse the repository at this point in the history
…reated issues with daterangepicker in sensor data pages
  • Loading branch information
rptmat57 committed Jun 12, 2024
1 parent 09462e8 commit 20453cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions NEMO/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
<script type="text/javascript" src="{% static "typeahead.jquery.min.js" %}"></script>
<script>
moment.updateLocale('en', {
week: { dow: "{{ calendar_first_day_of_week }}" }
});
week: { dow: {{ calendar_first_day_of_week }} }
});
</script>
{% endblock %}
{# NEMO #}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="NEMO",
version="6.0.1",
version="6.0.2",
python_requires=">=3.8, <4",
packages=find_namespace_packages(exclude=["resources", "resources.*", "build", "build.*"]),
include_package_data=True,
Expand Down

0 comments on commit 20453cc

Please sign in to comment.