Don't reset dates to None when the date is invalid
This change introduces the validation of the date / datetime / time fields on the fly such that 26:99
is an invalid hour but is not reset to None as it was done previously.
Closes #12771
Edited by Nicolas Évrard