Julien Danjou 787b6e3e50 timeutils: fix newer/older comparison with TZ aware datetime
Blindly replacing the timezone information from a timestamp does not
make it correctly UTC. It just strips information away, and therefore
does not make any valid comparison.

This fixes the comparison function by normalizing the timestamps to UTC
before doing any comparison.

Change-Id: I3a1b1eae497200ca951ccb003dbcc75fb75380fa
2015-06-03 17:21:40 +02:00
..
2015-01-16 16:19:54 -06:00