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

Update the helper _datetime_to_rfc3339 to handle time zones. #2041

Merged
merged 2 commits into from
Aug 1, 2016

Conversation

supriyagarg
Copy link
Contributor

The helper function _format_timestamp in gcloud.monitoring.query is
superseded by this updated helper function.

The helper function _format_timestamp in gcloud.monitoring.query is
superseded by this updated helper function.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 1, 2016
:rtype: str
:returns: The string representing the datetime stamp.
"""
if not(ignore_zone or value.tzinfo is None):

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Aug 1, 2016

Mostly LGTM other than the nit about the not

Thanks a lot for doing this!

@dhermes
Copy link
Contributor

dhermes commented Aug 1, 2016

LGTM once Travis passes

@dhermes dhermes merged commit 5a6ba14 into googleapis:master Aug 1, 2016
@supriyagarg supriyagarg deleted the rfc3339 branch August 1, 2016 22:53
This was referenced Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants