Drupal is a registered trademark of Dries Buytaert

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]

Activity

Total releases
1
First release
Feb 2026
Latest release
2 weeks ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.2 Stable Feb 18, 2026