Warning - 7.11.21 breaks workflow action custom datetime fields

Probably breaks more, but at least that.
This doesn’t seem to affect current workflow, but they will break on update/save.

name of field is passed to aow_utils.php fixUpFormatting, and hits this, which expects value as a date and not a name

if (! preg_match(’/^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$/’, $value)) {
// This appears to be formatted in user date/time
$value = $timedate->to_db($value);
}

[ERROR] convert: Conversion of custom_datetime_field 00.00 from Y-m-d H.i to Y-m-d H:i:s failed

reverting this:

solved it in my case

1 Like

Thanks @helgebe I had the exact same problem and reversed the hot fix. Problem solved.