Don't attempt to format empty datetime value.