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). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). 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. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Smart Date Extra Tokens

17 sites Security covered Drupal 9–11
View on drupal.org

This module provides additional, useful tokens for the Smart Date and Smart Date Recur modules. These tokens allow for more flexible formatting and retrieval of start and end dates for smart and recurring date fields.

This module extends the smart_date and smart_date_recur token support that is currently available.

Module aims to provide missing token support or tokens that might be handy in some use cases.

Documentation on current token support:
https://www.drupal.org/docs/8/modules/smart-date/using-smart-dates-token...

The smart_date_recur sub-module also supports additional tokens that are currently not documented.

Requirements

Requires the smart_date (Smart Date) module.

Install

Install module via composer:

composer require drupal/smart_date_extra_tokens

Enable via drush:

drush en smart_date_extra_tokens

Configuration/Setup

No additional configuration is required or provided. See information
below regarding provided tokens and usage.

Smart date additional tokens

Tokens provided on smart dates:

value-closest

Grabs the proper start date for smart dates/recurring fields and
formats correctly.

Example of token structure:

[<entity_type>:<field_name>:<delta>:value-closest:<date format>]

Example of token usage:

[node:field_when:0:value-closest:Y-m-d]

end_value-closest

Grabs the closest end date for smart dates/recurring fields and
formats correctly.

Example of token structure:

[<entity_type>:<field_name>:<delta>:end_value-closest:<date format>]

Example of token usage:

[node:field_when:0:end_value-closest:Y-m-d]

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
1
Tracked since
Feb 2026
Latest release
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.2 Stable 9–11 Feb 18, 2026