So I'm trying to parse a string with a date into another format but it's not changing the format. The parse function seems to overriding the SimpleDateFormat settings perhaps?
Date dateOfItem = new SimpleDateFormat("E, d MMMM yyyy", Locale.ENGLISH).parse(item.date);
Log.v("APP", dateOfItem.toString());
item.date for example is this: Tue, 12 May 2015 And thats exactly how I want the format to be in the Date. But the Log shows it as: Tue May 12 00:00:00 CDT 2015 which is not the format that I have in the SimpleDateFormat.
So how can take that string and convert it to a date with the format that I have as the parameter in the SimpleDateFormat?
DateTimeFormat.forStyle( "F-" )command on Joda-Time for such formats.