-
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
Tolerate timestamps w/ truncated nanos. #1785
Tolerate timestamps w/ truncated nanos. #1785
Conversation
with self.assertRaises(ValueError): | ||
self._callFUT(dt_str) | ||
truncateds_and_micros = [ | ||
('12345678', 123456), |
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 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.
I don't have the bandwidth right now to follow this properly, but have you guys looked at the proto3 JSON mapping spec for Timestamp and the |
Possibly, the phrase
may actually shed some light on what we've seen empirically. |
@dhermes Seems like you didn't find a counter-example to the "truncate/floor to micros" bit. |
Yeah LGTM |
Closes #1783.