Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

daterange_simplify

54 sites No security coverage
View on drupal.org

Provides a field formatter to simplify daterange field output. Easily create simplified date and time range phrases like "October 5, 2013, 10:00 AM to 1:30 PM."

This formatter wraps https://github.com/flack/ranger (which is based on the range formatter in fullCalendar) to provide a simplified set of date range output options outside of the standard Drupal date format configuration. Format options for date and time are enumerated by the PHP IntlDateFormatter class:

IntlDateFormatter::NONE (integer)
    Do not include this element 
IntlDateFormatter::FULL (integer)
    Completely specified style (Tuesday, April 12, 1952 AD or 3:30:42pm PST) 
IntlDateFormatter::LONG (integer)
    Long style (January 12, 1952 or 3:30:32pm) 
IntlDateFormatter::MEDIUM (integer)
    Medium style (Jan 12, 1952) 
IntlDateFormatter::SHORT (integer)
    Most abbreviated style, only essential data (12/13/52 or 3:30pm) 

See https://github.com/flack/ranger/blob/master/README.md for more details. For non 'en' locales, the PHP extension php-intl is required.

Similar modules:

Activity

Total releases
1
First release
Feb 2025
Latest release
1 year ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
2.0.6 Stable Feb 12, 2025