Skip to content

Issue #3463912: Use NULL to represent and empty time field instead of 86401

Revert changes made in commit 80005a0b and c1cae857 which allowed 86401 to represent a NULL value.

Modify TimeRangeType "to" property definition and schema to allow property to be NULL. Add TimeRangeWidget::massageFormValues() to ensure empty values are set as NULL so they can be saved in the table without error.

Fix tests.

Add update function to update field table schema and existing data.

Drop support for old major Drupal versions to ensure update function works as expected.

Closes #3463912

Merge request reports

Loading