fix date pattern and format issue when month or day are provided as single digit without leading zero
fix date pattern and format issue when month or day are provided as single digit without leading zero