Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

BEF DateRange Picker

8 sites No security coverage Drupal 10–11
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.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Jan 2026
Latest release
6 months ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

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