8000 Add Milestone.updated_at attribute · nikicat/github3.py@e64ab37 · GitHub
[go: up one dir, main page]

Skip to content

Commit e64ab37

Browse files
committed
Add Milestone.updated_at attribute
1 parent aa28f3c commit e64ab37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

github3/issues/milestone.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ def __init__(self, mile, session=None):
3939
self.due_on = None
4040
if mile.get('due_on'):
4141
self.due_on = self._strptime(mile.get('due_on'))
42+
#: datetime object representing when the milestone was updated.
43+
self.updated_at = self._strptime(mile.get('updated_at'))
4244

4345
def __repr__(self):
4446
return '<Milestone [{0}]>'.format(self)
360F

0 commit comments

Comments
 (0)
0