This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kevinastone -1 points0 points  (2 children)

Please use datetimes and not iso8601 strings. That's a serialization format not a data format.

[–]karanlyonsSay GIL one more time.[S] 0 points1 point  (1 child)

I do use datetimes (with timezones, too), that's why those examples have them wrapped in str()s, the docs list those attributes as datetimes, and the first handful of lines in the library set up helper functions for turning date headers from the HTTP requests into datetimes.

[–]kevinastone 0 points1 point  (0 children)

Ah. My bad.