Twitter gives me a date such as "Wed, 27 Mar 2013 15:12:14 +0000". I'm trying to parse it with:
DateTimeFormat.forPattern("EEE, dd MMM yyyy HH:mm:ss ZZZZZ").withLocale(Locale.ENGLISH);
But it fails:
Invalid format: "Wed, 03 Apr 2013 10:35:35 +0000" is malformed at "+0000"
I've tried replacing ZZZZZ
with z
, Z
, and ZZZ
, but no change. Can these dates be parsed this way?