Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Timestamp nullable

20 sites No security coverage
View on drupal.org

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

Activity

Total releases
2
First release
Jan 2026
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

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