new DateTime(Date) should use TimeZone.getDefault() [backwards incompatible] #155
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
From yan...@google.com on October 08, 2012 14:53:13
External references, such as a standards document, or specification? http://tools.ietf.org/html/rfc3339#section-4.4 http://tools.ietf.org/html/rfc3339#section-5.6 http://javadoc.google-http-java-client.googlecode.com/hg/1.11.0-beta/com/google/api/client/util/DateTime.html Java environments (e.g. Java 6, Android 2.3, App Engine, or All)? All Please describe the feature requested. If you construct a DateTime for a time without a TimeZone, calling toStringRfc3339 results in a string that is not compliant with the RFC 3339 specification. Instead, if we don't have a timezone and we are specifying a time (ie not the date-only form), then we should use TimeZone.getDefault() as the TimeZone. Note that this is technically a breaking change in implementation.
Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=155
The text was updated successfully, but these errors were encountered: