rework date selector to query date string directly to parse
add comments