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

new DateTime(Date) should use TimeZone.getDefault() [backwards incompatible] #155

Closed
wonderfly opened this issue Jan 9, 2015 · 3 comments
Assignees
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.

Comments

@wonderfly
Copy link
Contributor

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

@wonderfly wonderfly added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. imported priority: p2 Moderately-important priority. Fix may not be included in next release. labels Jan 9, 2015
@wonderfly wonderfly self-assigned this Jan 9, 2015
@wonderfly
Copy link
Contributor Author

From yan...@google.com on October 24, 2012 10:37:23

Status: Accepted

@wonderfly
Copy link
Contributor Author

@wonderfly
Copy link
Contributor Author

From yan...@google.com on November 21, 2012 05:31:59

Summary: new DateTime(Date) should use TimeZone.getDefault() [backwards incompatible]

clundin25 pushed a commit to clundin25/google-http-java-client that referenced this issue Aug 11, 2022
bump release from 0.9.1-SNAPSHOT to 0.9.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant