Comparing offset-aware and offset-naive datetimes?

Vito De Tullio vito.detullio at gmail.com
Sun Jan 27 05:59:02 CET 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