Drupal is a registered trademark of Dries Buytaert

timestamp_nullable

119 sites No security coverage
View on drupal.org

Provides a timestamp field widget that allows empty values to be preserved as NULL/empty values instead of defaulting to the current date and time.

Drupal core's `Datetime Timestamp` widget automatically sets empty timestamp fields to the current time on form submission. This module provides an alternative widget that gives content editors explicit control over whether a timestamp value is set.

Features

  • Drop-in replacement for core's Datetime Timestamp widget
  • Configurable behavior: choose whether empty values default to current time (existing core behavior) or are handled as NULL/empty

Post-Installation

  1. Navigate to the "Manage form display" tab for your entity type
  2. Select "Datetime Timestamp (Nullable)" as the widget for your timestamp field
  3. Click the gear icon to configure whether empty values should default to current time or remain NULL

Activity

Total releases
2
First release
Jan 2026
Latest release
1 month ago
Release cadence
0 days
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Jan 19, 2026
1.0.x-dev Dev Jan 19, 2026