feat(datepicker): convert string to Date with custom date formats

1. Added filter that converts string to Date object.
2. Added relevant tests.