From 4015f45731e02466e56e451d6725f3fee9bea6cf Mon Sep 17 00:00:00 2001 From: Andrey Novikov Date: Mon, 21 Jan 2019 15:28:19 +0300 Subject: [PATCH] Remove some range presets, closes #2 --- daterangefilter/templates/daterangefilter/_future_ranges.html | 1 - daterangefilter/templates/daterangefilter/_past_ranges.html | 1 - 2 files changed, 2 deletions(-) diff --git a/daterangefilter/templates/daterangefilter/_future_ranges.html b/daterangefilter/templates/daterangefilter/_future_ranges.html index e8e9335..1fbf52b 100644 --- a/daterangefilter/templates/daterangefilter/_future_ranges.html +++ b/daterangefilter/templates/daterangefilter/_future_ranges.html @@ -1,6 +1,5 @@ {% load i18n %} ranges: { - '{% trans "Yesterday" %}': [moment().subtract(1, 'days'), moment().subtract(1, 'days')], '{% trans "Today" %}': [moment(), moment()], '{% trans "Tomorrow" %}': [moment().add(1, 'days'), moment().add(1, 'days')], '{% trans "Day after tomorrow" %}': [moment().add(2, 'days'), moment().add(2, 'days')], diff --git a/daterangefilter/templates/daterangefilter/_past_ranges.html b/daterangefilter/templates/daterangefilter/_past_ranges.html index 9e89c2d..175e20c 100644 --- a/daterangefilter/templates/daterangefilter/_past_ranges.html +++ b/daterangefilter/templates/daterangefilter/_past_ranges.html @@ -1,6 +1,5 @@ {% load i18n %} ranges: { - '{% trans "Tomorrow" %}': [moment().add(1, 'days'), moment().add(1, 'days')], '{% trans "Today" %}': [moment(), moment()], '{% trans "Yesterday" %}': [moment().subtract(1, 'days'), moment().subtract(1, 'days')], '{% trans "Day before yesterday" %}': [moment().subtract(2, 'days'), moment().subtract(2, 'days')],