Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Timestamp nullable

No security coverage Under active development 31 sites

This module provides a timestamp field widget that allows users to preserve empty values as NULL instead of automatically defaulting to the current date and time. It offers content editors more control over timestamp fields, acting as a replacement for Drupal core's default widget.

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

Ask your assistant about Timestamp nullable

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jan 2026
Latest release
8 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

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