-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
#818: unify RFC 3339 timestamp format strubg #835
Conversation
Use it consistently in pubsub.
Rebased after merge of #816 to master. |
Changes Unknown when pulling 5d13cbe on tseaver:818-unify_rfc_3339_format into * on GoogleCloudPlatform:master*. |
LGTM. Thanks for doing this! |
Actually wait, don't we want to put a timezone on the stamps in storage? |
@@ -749,7 +749,7 @@ def time_deleted(self): | |||
""" | |||
value = self._properties.get('timeDeleted') | |||
if value is not None: | |||
return datetime.datetime.strptime(value, _GOOGLE_TIMESTAMP_FORMAT) | |||
return datetime.datetime.strptime(value, _RFC3339_MICROS) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This PR fixes the |
Everything LGTM if it LGTY |
#818: unify RFC 3339 timestamp format strubg
Use consistently across
storage
andpubsub
.Fixes #818.
Uses #816 as a diffbase.