tzinfo

attribute 'tzinfo' of 'datetime.datetime' objects is not writable

attribute 'tzinfo' of 'datetime.datetime' objects is not writable Question: How do I set the timezone of a datetime instance that just came out of the datastore? When it first comes out it is in UTC. I want to change it to EST. I’m trying, for example: class Book( db.Model ): creationTime = db.DateTimeProperty() When a …

Total answers: 3