Treat blank input as null in DatetimeFormatter