Fix so custom date format is respected on date elements with date limits.