Вывод, вроде тот, что нужен, но не проходит последний пункт. Подскажите почему
package com.javarush.task.task09.task0922;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
/*
Какое сегодня число?
*/
public class Solution {
public static void main(String[] args) throws Exception {
//напишите тут ваш код
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
SimpleDateFormat dateFormat = new SimpleDateFormat("YYYY-MM-mm", Locale.ENGLISH);
Date date = dateFormat.parse(reader.readLine());
SimpleDateFormat newDateFormat = new SimpleDateFormat("MMM dd,YYYY", Locale.ENGLISH);
System.out.println(newDateFormat.format(date).toUpperCase());
}
}