Fix EZP-20724: Error when creating a content without filling an ezdatetime field

The same issue happens on Date and Time fields