#80022DateTime parse error on edit pages field newUntil
Description
To reproduce
- Create or edit a page entry, open edit form
- Set date for “Mark as ‘New’ Until” (tab Appearance) to past or future
- Save your changes
- Reopen this page entry for editing (fx. select from page tree)
- Click save+close button, without any changes
Expected result
Frame with edit form switches to the view you had opened before
Actual result
An error occurs
DateTime::__construct(): Failed to parse time string (2017-02-25T00:00:00+) at position 19 (+): Unexpected character
Field value is cutting from 25 chars (in this case) down to 20 chars:
$GLOBALS['TCA']['pages']['columns']['newUntil']['config']['max'] = 20;