Bug #81973

FormEngineValidation.parseDate remove fix year 2038

Added by Benjamin Kluge about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
-
Start date:
2017-07-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

In issue https://forge.typo3.org/issues/81940 are TCA range upper removed. But in file typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js in method FormEngineValidation.parseDate are fix the year 2038 included.

At the moment you cant typing a date bigger than year 2038 in datime fields, please remove this limitation. It set always the value to the today date


Files

Auswahl_024.png (50.8 KB) Auswahl_024.png Benjamin Kluge, 2017-07-26 13:17

Related issues

Related to TYPO3 Core - Bug #82981: FormEngineValidation: range-checks not working for datetime-fieldsClosed2017-11-13

Actions
#1

Updated by Wittkiel Gruppe about 4 years ago

Benjamin Kluge wrote:

In issue https://forge.typo3.org/issues/81940 are TCA range upper removed. But in file typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js in method FormEngineValidation.parseDate are fix the year 2038 included.

At the moment you cant typing a date bigger than year 2038 in datime fields, please remove this limitation. It set always the value to the today date

I think it's a problem with unix timestamps, see for example #16735 and https://en.wikipedia.org/wiki/Year_2038_problem

#2

Updated by Benjamin Kluge about 4 years ago

Wittkiel Gruppe wrote:

I think it's a problem with unix timestamps, see for example #16735 and https://en.wikipedia.org/wiki/Year_2038_problem

But I think that is not existing anymore in Javascript or mysql (https://bugs.mysql.com/bug.php?id=12654), and also in php (i think)

#3

Updated by Frank Naegler almost 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Frank Naegler
#4

Updated by Gerrit Code Review almost 4 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54488

#5

Updated by Gerrit Code Review almost 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54488

#6

Updated by Gerrit Code Review almost 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54488

#7

Updated by Gerrit Code Review almost 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54488

#8

Updated by Gerrit Code Review almost 4 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54488

#9

Updated by Gerrit Code Review almost 4 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54488

#10

Updated by Gerrit Code Review almost 4 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54488

#11

Updated by Frank Naegler almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#12

Updated by Stefan Neufeind almost 4 years ago

  • Related to Bug #82981: FormEngineValidation: range-checks not working for datetime-fields added
#13

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF