added a new pattern to the common convertStringToDate