mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// date ranges
|
||||
var ranges = {};
|
||||
{% for title, range in dateRangeConfig.ranges %}
|
||||
ranges["{{ title }}"] = [moment("{{ range[0].format('Y-m-d') }}"), moment("{{ range[1].format('Y-m-d') }}")];
|
||||
ranges["{{ title|escape('js') }}"] = [moment("{{ range[0].format('Y-m-d') }}"), moment("{{ range[1].format('Y-m-d') }}")];
|
||||
{% endfor %}
|
||||
|
||||
// date range meta configuration
|
||||
var dateRangeMeta = {
|
||||
title: "{{ dateRangeTitle }}",
|
||||
title: "{{ dateRangeTitle|escape('js') }}",
|
||||
url: "{{ route('daterange') }}",
|
||||
labels: {
|
||||
apply: "{{ 'apply'|_ }}",
|
||||
|
Reference in New Issue
Block a user