This project is not covered by Drupal’s security advisory policy.
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
- Navigate to the "Manage form display" tab for your entity type
- Select "Datetime Timestamp (Nullable)" as the widget for your timestamp field
- Click the gear icon to configure whether empty values should default to current time or remain NULL
Project information
- Project categories: Content editing experience
37 sites report using this module
- Created by kerasai on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.0-alpha1
released 19 January 2026
Works with Drupal: ^11
Install:
Development version: 1.0.x-dev updated 19 Jan 2026 at 15:39 UTC
