From 317b6da4ab1c82e9b4d9b559006c375bb0d239b4 Mon Sep 17 00:00:00 2001
From: Joerg Kummer <service@enobe.de>
Date: Sat, 25 Feb 2017 19:28:12 +0100
Subject: [PATCH] [BUGFIX] DateTime parse error on edit pages field newUntil

Remove TCA config 'max' limit for datetime fields to avoid DateTime
parse errors. No other renderType='inputDateTime' fields in core
TCA have this limit set. Field pages.newUntil should too.

Resolves: #80022
Releases: master
Change-Id: I2b90a1f69d5b3f4f644faa3fab5d15bba6ca67ae
Reviewed-on: https://review.typo3.org/51859
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Kummer <service@enobe.de>
Tested-by: Joerg Kummer <service@enobe.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 typo3/sysext/core/Configuration/TCA/pages.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/typo3/sysext/core/Configuration/TCA/pages.php b/typo3/sysext/core/Configuration/TCA/pages.php
index c33a50c13d7c..35b0ccade283 100644
--- a/typo3/sysext/core/Configuration/TCA/pages.php
+++ b/typo3/sysext/core/Configuration/TCA/pages.php
@@ -397,7 +397,6 @@ return [
             'config' => [
                 'type' => 'input',
                 'renderType' => 'inputDateTime',
-                'max' => 20,
                 'eval' => 'date',
                 'default' => 0
             ]
-- 
GitLab