Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTime.parseRfc822 seems lost TimeZone information #193

GoogleCodeExporter opened this issue Apr 6, 2015 · 0 comments


Copy link

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

I used gdata-java-client 1.38 for DateTime.parseRfc822() to help me parse a
rss element <pubDate />.

A pubDate string like "Sun, 06 Sep 2009 16:06:00 +0000" can be parsed but
not accepted by BaseEntry.setPublished(), method setPublished() throw the
exception message: "java.lang.IllegalArgumentException: Entry.published
must have a timezone."

The attached sample code shows DateTime.parseRfc822() maybe ignored
timezone information while parsing the date string.

Please check if it is a bug or not ?

Best Regards.


Original issue reported on by hungwei.hsu on 27 Sep 2009 at 2:36


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.