Project

General

Profile

Actions

Feature #16735

closed

Negative Timestamps

Added by Michael Fritz almost 18 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-11-24
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

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&&year<38) || (year>=70&&year<100) || (year>=1970&&year<2038)) {
if ((year>=0&&year<38) || (year>=70&&year<100) || (year>=1902&&year<2038)) {

and

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


Files

negativetimestamps.patch (29.1 KB) negativetimestamps.patch Administrator Admin, 2007-09-17 19:02
jsfunc.evalfield.js (14.2 KB) jsfunc.evalfield.js Administrator Admin, 2007-09-17 19:06
20080216_negative_timestamps.diff (1.33 KB) 20080216_negative_timestamps.diff Administrator Admin, 2008-02-16 18:33
Actions

Also available in: Atom PDF