ezsystems/ezpublish-legacy — pull request #1000 by bchoquet-heliopsis (2014-06-18 10:34:12+00:00)
Title: [DO NOT MERGE YET] Fix EZP-23019 : store null timestamp when date(time) is unset

Not tested yet but here is my bold take at fixing the regression I introduced in #947

Please tell me what you think of this approach or if I'm missing anything while I test it locally.