Formatting date from JSON response - only shows January? : <p>I am trying to get the right date to display but no matter what I do, or the date, it changes the month to January. What am I doing wrong?</p>

<pre><code>  private static String formatDate(String dateFormat) {
    String jsonDate = "yyyy-mm-dd'T'HH:mm:ss'Z'";
    SimpleDateFormat simpleDateFormat = new SimpleDateFormat(jsonDate, Locale.getDefault());
    try {
        Date parsedDate = simpleDateFormat.parse(dateFormat);
        String parsedDatePattern = "MM dd y";
        SimpleDateFormat formatJsonDate = new SimpleDateFormat(parsedDatePattern, Locale.getDefault());

        return formatJsonDate.format(parsedDate);
    } catch (ParseException e) {
        Log.e(LOG_TAG, "~*&amp;~*&amp;~*&amp;Error parsing JSON date: ", e);
        return "";
    }
}
</code></pre>
