Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Daterange Simplify

No security coverage Under active development 67 sites

This module provides a field formatter to simplify the display of date range fields. It allows for easy creation of user-friendly date and time range phrases using international formatting options.

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:

Drupal 10–11

Ask your assistant about Daterange Simplify

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • datetime Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Nov 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.0.6 Stable 10–11 Feb 12, 2025
2.0.5 Stable 9–10 Jan 17, 2024
2.0.4 Stable 9–10 Dec 10, 2023
2.0.3 Stable 9–10 Dec 10, 2023
2.0.2 Stable 9–10 Dec 10, 2023
2.0.1 Stable 9–10 Nov 1, 2023