Fix TZ-dependent return values from time_in_seconds()
Fix TZ-dependent return values from time_in_seconds()

time.mktime assumes that the time tuple is in local time, rather than UTC. Use
calendar.timegm instead for consistency.

alisaifee/hiro,alisaifee/hiro