fix invalid pattern character 'Y'; SimpleDateFormat uses lowercase 'y'