Install

Works with Drupal: ^11.1

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 418.58 KB
MD5: 793decf7a6dba96ff5bf838f7218607f
SHA-1: b872e6f1d5de41fe240d77d2345be239e1bc0a4b
SHA-256: 5a9ba97bcf81249693461a046a539d9492a9170d0f3f94f9d630ce2a61f739c3
Download zip 666.97 KB
MD5: 4ed00b4dd85478961676ec66715aa310
SHA-1: 5e8b5e5a12d67e1d5c25298bdad32d0ef16e5b77
SHA-256: 66258a44809863bfd4208ce186ef1a959ce4aa20afb1d872b0f9a8e015175448

Release notes

Two changes to the Date reached condition: a date range without an end can now end with its start day, and a date without a time of day is read in the site's timezone instead of the saving user's. There are no update hooks and no changes to shipped configuration; the usual drush deploy is all a site needs.

Added

  • When a date range without an end ends (#3635037). A condition on the end of a range read a range without one (a site with Optional End Date, for example) as ending at its start, so a message "after the event" went out while the event was still running. The new setting A date range without an end ends keeps that as the default or moves it to 23:59:59 of the start day in the site's timezone, plus the offset – the rule of a site that lists such a range as current for the whole day it starts on. It applies only to the end of a range with a time of day; a range of whole days without an end already ends with its start day.

Fixed

  • Date reached reads a date without a time in the site's timezone (#3635036). The day of a date-only field started and ended in the timezone of the request, which on the save path is the saving user's: with configurable user timezones, the same template scheduled the same date differently depending on who saved the entity. It now uses the site's default timezone (system.date:timezone.default), as documented.

Upgrade notes

  • No update hooks, no changes to shipped configuration.
  • Conditions saved before carry no value for the new setting and keep their behaviour: an open range ends at its start.
  • Tracking rows scheduled before keep their next check until the entity is saved again. A row for a date-only field that a user in a timezone west of the site's scheduled is therefore still checked once at the old, later moment.
  • For plugin authors: DateReached::dateTimestamp() takes an optional third parameter bool $open_end_start_day = FALSE; a subclass overriding the method has to accept it.

Full details in CHANGELOG.md.

Created by: daniel.pernold
Created on: 5 Nov 2026 at 14:36 UTC
Last updated: 5 Nov 2026 at 14:37 UTC
Bug fixes
New features

Other releases