[BUGFIX] Date of 1970-01-01 is shown in unset date fields
authorBenjamin Mack <benni@typo3.org>
Thu, 7 Jul 2011 09:34:43 +0000 (11:34 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Thu, 7 Jul 2011 19:56:02 +0000 (21:56 +0200)
commit999eb0a4b9757cb094d80a266bd0fee53d597488
tree8c9504de216a471ee26771fb5811a0054718a161
parent2b43c4fab1b37d9e1e5e67a93cec2dfd116c9588
[BUGFIX] Date of 1970-01-01 is shown in unset date fields

The backend shows 1970-01-01 since TYPO3 4.3, even though this
value is empty. I know that there is a problem with mySQL that
cannot differentiate between "0" and NULL, and that this is a
more difficult problem. In any case, even though showing
1970-01-01 is "valid", this is just a bad thing in terms of
usability and user-friendly-ness.

Change-Id: I34d9cc48c809689a7fae7ad00139e4e151eb87c4
Resolves: #27936
Releases: 4.6, 4.5, 4.4, 4.3
Reviewed-on: http://review.typo3.org/3110
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
t3lib/class.t3lib_befunc.php