Issue Feature Closed

#16735Negative Timestamps

Michael Fritz 11/24/06, 13:27 updated 06/27/08, 15:20

Description

I cannot assign negative timestamps to the date field. E.g birthdays before 1.1.1970 doesnt work.

Can be fixed inside the js-file:
typo3/jsfunc.evalfield.js

//if ((year>=0&&year38) || (year>=70&&year100) || (year>=1970&&year2038)) {
if ((year>=0&&year38) || (year>=70&&year100) || (year>=1902&&year<2038)) {

and

if (this.lastDate<0) {this.lastDate=0;}
//if (this.lastDate<0) {this.lastDate=0
(issue imported from #M4553)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.