You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good point on the serialization discrepancy. The major meaningful difference to me is that the sub-second portion of the datetime is discarded during serialization. But this probably doesn't matter most of the time.
Another major meaningful difference is that this regex is used in the Search object, so datetimes with fractional seconds in them throw an error when used by pystac-client in a query.
Thanks for reviewing and merging!
Good point on the serialization discrepancy. The major meaningful difference to me is that the sub-second portion of the datetime is discarded during serialization. But this probably doesn't matter most of the time.
Could be fixed by changing
https://github.com/stac-utils/stac-pydantic/blob/master/stac_pydantic/shared.py#L18
to include the
%f
(microsecond) part.Originally posted by @colecloudtostreet in #75 (comment)
The text was updated successfully, but these errors were encountered: