Bug #81973
closed
FormEngineValidation.parseDate remove fix year 2038
Added by Benjamin Kluge over 7 years ago.
Updated about 6 years ago.
Category:
Backend JavaScript
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
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
- Status changed from New to In Progress
- Assignee set to Frank Nägler
- Status changed from In Progress to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Related to Bug #82981: FormEngineValidation: range-checks not working for datetime-fields added
- Status changed from Resolved to Closed
Also available in: Atom
PDF