Commits

Brad Montgomery committed 8074b9a Merge
  • Participants
  • Parent commits f80ef2e, 6b4e8e9

Comments (0)

Files changed (1)

File bitbucket/api.py

 def to_datetime(timestring):
     """Convert one of the bitbucket API's timestamps to a datetime object."""
     format = '%Y-%m-%d %H:%M:%S'
+    timestring = timestring.split('+')[0].strip()
     return datetime.datetime(*time.strptime(timestring, format)[:7])
 
 class BitBucket(object):