Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

BEF DateRange Picker

5 sites No security coverage
View on drupal.org

This module enhances Views by replacing standard date input fields with a user-friendly calendar range picker. It offers presets for common date ranges and ensures correct date inclusion logic, while also providing a safe reset option for filters.

The BEF DateRange Picker module provides a sleek, user-friendly calendar interface for Views exposed filters. It bridges the gap between Drupal's powerful filtering and modern UX by integrating the popular Bootstrap Daterangepicker library directly into the Better Exposed Filters (BEF) ecosystem.

✨Important information

This module was built by a human using an AI Assistant 🤖 !

🚀Key Features

  • Premium UI: Replaces standard text inputs with a visual calendar range picker.
  • BEF Integration: Seamlessly attaches to existing Views as a BEF widget.
  • Intelligent Presets: Comes with built-in quick-select ranges like Today, Yesterday, This Month, and Last Month.
  • Dynamic Week Calculation: "This Week" and "Last Week" presets automatically adjust based on your site's First day of week setting (Configuration → Regional settings).
  • Israeli/International Support: Correctly handles Sunday-start (Israeli) and Monday-start (International) calendars.
  • Smart Date Inclusion: Automatically handles the "between" operator logic to ensure content on the final day of a range is included in results.
  • AJAX Ready: Fully compatible with Drupal Views AJAX filtering.

🛠 Limitation

In standard views, clicking the "Reset" button on numeric or date range filters often results in "Undefined array key" errors. This module detects that scenario and replaces the Reset button with a clean link that resets the form safely, ensuring a smooth experience for your users.

📦 Requirements & Installation

This module requires Better Exposed Filters and uses Composer to manage its JavaScript dependencies (via asset-packagist.org).

Recommended setup:

  1. Configure asset-packagist.org in your root composer.json
  2. Run composer require npm-asset/daterangepicker:^3.1.
  3. Enable the module and select "BEF DateRange Picker" in your View's BEF settings.

Alternative modules

You could also consider using:

  • BEF date filters which transforms a date range filter (content is between two dates) into a year and month select filters.

Activity

Total releases
5
First release
Jan 2026
Latest release
5 months ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Feb 2, 2026
1.0.x-dev Dev Feb 1, 2026
1.0.2 Stable Jan 30, 2026
1.0.1 Stable Jan 30, 2026
1.0.0 Stable Jan 30, 2026