[TASK] Change upper limits for endtime of various records 35/53735/2
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 3 Aug 2017 18:23:56 +0000 (20:23 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 18 Aug 2017 14:01:14 +0000 (16:01 +0200)
Instead of using 2020 use the technical limit of 32bit
which is 2038.

Resolves: #81940
Releases: master, 8.7
Change-Id: If0b1bee101b4917d7a974dd0e91f79bc24139227
Reviewed-on: https://review.typo3.org/53735
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/frontend/Configuration/TCA/fe_users.php
typo3/sysext/frontend/Configuration/TCA/pages_language_overlay.php
typo3/sysext/frontend/Configuration/TCA/sys_template.php
typo3/sysext/workspaces/Configuration/TCA/sys_workspace.php

index 583e423..373dd2d 100644 (file)
@@ -245,7 +245,7 @@ return [
                 'eval' => 'datetime',
                 'default' => 0,
                 'range' => [
-                    'upper' => mktime(0, 0, 0, 12, 31, 2020)
+                    'upper' => mktime(0, 0, 0, 1, 1, 2038)
                 ]
             ]
         ],
index 8f1c88a..6869a42 100644 (file)
@@ -63,7 +63,7 @@ return [
                 'eval' => 'datetime',
                 'default' => 0,
                 'range' => [
-                    'upper' => mktime(0, 0, 0, 12, 31, 2020)
+                    'upper' => mktime(0, 0, 0, 1, 1, 2038)
                 ]
             ]
         ],
index 1d9a543..82a2afb 100644 (file)
@@ -66,7 +66,7 @@ return [
                 'eval' => 'datetime',
                 'default' => 0,
                 'range' => [
-                    'upper' => mktime(0, 0, 0, 12, 31, 2020)
+                    'upper' => mktime(0, 0, 0, 1, 1, 2038)
                 ]
             ]
         ],
index 04e04db..3d12d3a 100644 (file)
@@ -95,7 +95,7 @@ return [
                 'eval' => 'datetime',
                 'default' => 0,
                 'range' => [
-                    'upper' => mktime(0, 0, 0, 12, 31, 2020)
+                    'upper' => mktime(0, 0, 0, 1, 1, 2038)
                 ]
             ],
         ],