Issue #2114983 by spheresh: Provide more specific error messages for date components.