# HG changeset patch # User Jeff Hammel # Date 1325135569 28800 # Node ID f733ebc095ccf48dd35594f314cdfaa4609ae87c # Parent a13749f1906791714a08044eea42944b1ce0eac7 try utc version of this function diff -r a13749f19067 -r f733ebc095cc autobot/changes/poller.py --- a/autobot/changes/poller.py Wed Dec 28 21:06:58 2011 -0800 +++ b/autobot/changes/poller.py Wed Dec 28 21:12:49 2011 -0800 @@ -198,7 +198,7 @@ # (required in buildbot 0.8.5) timestamp = self.commitInfo['timestamp'] if isinstance(timestamp, int) or isinstance(timestamp, float): - timestamp = datetime.fromtimestamp(timestamp) + timestamp = datetime.utcfromtimestamp(timestamp) self.log('timestamp: %s' % timestamp)