[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:53:58 +0000 (21:53 +0200)
commit5a417da5ad114b6f546366ef8db7c6a349b56af5
treed594f486860b539570799758d375bbdf1bdb2311
parent02aa862da7526546937f28037840efde80278583
[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: I780cd5e500378c06ddc680db6015a124b66820ca
Resolves: #27936
Releases: 4.6, 4.5, 4.4, 4.3
Reviewed-on: http://review.typo3.org/3098
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
t3lib/class.t3lib_befunc.php