Comment 2 for bug 929068

Revision history for this message
Brad Figg (brad-figg) wrote :

#!/usr/bin/python
from launchpadlib.launchpad import Launchpad

lp = Launchpad.login_with('broken-date', 'production')
b = lp.bugs[918807]
t = b.bug_tasks[0]
dc = t.date_created
print repr(dc)

When that script is run on Oneiric:
> python broken-date.py
datetime.datetime(2012, 2, 7, 22, 22, 1, 388303, tzinfo=TimeZone(0))

When run on Precise:
> python broken-date.py
u'2012-02-07T22:22:01.388303+00:00'