So you need to convert a python datetime object which has a timezone set
(“aware” in the Python nomenclature) to an UTC one with no timezone set
(“naive”), for example because NDB on GAE can’t store anything
The solution will look something like this:
date = date.astimezone(tz ...