Created
October 5, 2013 12:13
-
-
Save 4poc/6840150 to your computer and use it in GitHub Desktop.
SQLAlchemy Session Error: Timezone/Datetime related
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> TypeError: can't compare offset-naive and offset-aware datetimes | |
channel.published_at = dateutil.parser.parse(snippet['publishedAt'], ignoretz=True) | |
^^^^^^^^^^^^^ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment