Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

This module allows you to create events with an approximate or unknown start time, displaying "Time TBC" to the public. You can later update the event with the confirmed start time. It requires the Smart Date module to function.

Note: this module is an add-on to Smart Date, providing a small but useful extension to functionality. Therefore, smart_date is a dependency and its installation is required.

This means that you can create a future event further into the future, when you have the specific date, but don't yet know the start time. You can then go back and edit the event to update the time.

You want to promote an event, to help ticket sales, perhaps giving approximate or expected start times, e.g. evening in a free-form description.

As time advances a little closer to the event and things are firmly put in place, a start time can be confirmed - and at that point, you can go back and edit to put in the actual start time.

Features

Works on a presentational basis: Uses an existing date TBC toggle boolean flag field called field_time_tbc in your node type to auto-fill time start and finish with 00:00 but hide them in the content displayed to the public.

This module was created for the website I built for the choir I am in: from time to time, events would be booked without all the information as to confirmed start time available to me as web content admin or that the time as still being determined by event management team.

Post-Installation

Create the boolean field in your content type first, field_time_tbc.

e.g. for an "Event" content type, add the time_tbc field here:
admin/structure/types/manage/event/fields

Then install...
composer require drupal/smart_date_time_tbc

.. and enable this module...
drush en smart_date_time_tbc

And add the following code to your node templates in your theme

e.g. node--view--events--events-listing.html.twig

      {# other twig code here...#}

      {% set date_event_day_only = date_event_as_unix_time_int | date('D, j M Y') %}

      {% if node.field_time_tbc.value %}
        <span>{{ date_event_day_only }}, Time TBC | </span>
      {% else %}
        <span>{{ content.field_when }} | </span>
      {% endif %}

      {# other twig code here...#}

e.g. node--event--full.html.twig

          {# other twig code here...#}

          {% set date_event_day_only = date_event_as_unix_time_int | date('D, j M Y') %}
          {% if node.field_time_tbc.value %}
             <span>{{ date_event_day_only }}, Time TBC | </span>
          {% else %}
            <span>{{ content.field_when }} | </span>
          {% endif %}

          {# other twig code here...#}

(note: the above twig code could be replaced with a better implementation to use field formatters - issue raised here: https://www.drupal.org/project/smart_date_time_tbc/issues/3457462 )

Turning on the Time TBC field in your content of type Event that you are creating - e.g. node/add/event or editing e.g. node/78/edit

On that Event create or edit page, how this looks:

Initially off:

Turning on:

Note how it it auto-fills the time start and end, so that saving the content goes through. This is done by the JS code in the module.

How it looks on saved published content as an example:

Additional Requirements

Requires smart_date, because it extends it.

Not known.

Similar projects

Not known.

Supporting this Module

Not specified at this time.

Community Documentation

See information above.

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
2
Tracked since
Sep 2026
Latest release
20 hours ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.2 Stable 9–11 Sep 11, 2026
1.0.1 Stable Sep 11, 2026