use default if date input strings are empty