Modified allowed date format for input data.