rhbz882770 - client side validation for date format