Comparing offset-aware and offset-naive datetimes?

Vito De Tullio vito.detullio at gmail.com
Sat Jan 26 23:59:02 EST 2013


Roy Smith wrote:

> I have two datetimes.  One is offset-naive.  The other is offset-aware,
> but I happen to know its offset is 0 (i.e. GMT).  How can I compare
> these?

http://pytz.sourceforge.net/#localized-times-and-date-arithmetic

-- 
ZeD




More information about the Python-list mailing list