More accurate validation for date & time in studio editor.

https://openedx.atlassian.net/browse/TNL-58
yeah, to catch the error thrown by parseDate function if date is not valid.