datetime.datetime.utcnow()

Why does this datetime not have any timezone info given that it is explicitly a UTC datetime?

I would expect that this would contain tzinfo.

10 Answers
10

Leave a Reply

Your email address will not be published. Required fields are marked *