Update to correct posrgres null date
Add same change for joomla.sql
Merge pull request #3513 from wilsonge/patch-13

[#8103] Update to correct postgres null date