I am trying to parse a date time string to joda date time. But, getting malformed error.
Joda 2.10.1
DateTimeFormatter parser = DateTimeFormat.forPattern("EEE MMM dd HH:mm:ss zzz yyyy");
DateTime dateTime = parser.parseDateTime("Thu Mar 28 12:26:50 IST 2019");
Exception in thread "main" java.lang.IllegalArgumentException: Invalid format: "Thu Mar 28 12:26:50 IST 2019" is malformed at "IST 2019"
I am able to parse using java8 time API. But, my app is a legacy one and can't use this. Need help to fix this.