Project

General

Profile

Actions

Bug #81973

closed

FormEngineValidation.parseDate remove fix year 2038

Added by Benjamin Kluge over 7 years ago. Updated about 6 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Wittkiel Gruppe over 7 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

Actions #2

Updated by Benjamin Kluge over 7 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)

Actions #3

Updated by Frank Nägler about 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Frank Nägler
Actions #4

Updated by Gerrit Code Review about 7 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

Actions #5

Updated by Gerrit Code Review about 7 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

Actions #6

Updated by Gerrit Code Review about 7 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

Actions #7

Updated by Gerrit Code Review about 7 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

Actions #8

Updated by Gerrit Code Review about 7 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

Actions #9

Updated by Gerrit Code Review about 7 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

Actions #10

Updated by Gerrit Code Review almost 7 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

Actions #11

Updated by Frank Nägler almost 7 years ago

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

Updated by Stefan Neufeind almost 7 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF