It's a good question -- what to do when the due date is pushed later than the individual date. However, I think we should favor the date entered by staff over a business rule to always take the latest date. 

In the name of the feature the emphasis is on "individual due date" and less on "extension"

Perhaps we should add something to the documentation (or the UI) to make this clearer. 

On Dec 13, 2013, at 11:17 AM, David Ormsbee wrote:

> In common/lib/xmodule/xmodule/utils.py:
> 
> > @@ -0,0 +1,15 @@
> > +"""
> > +Miscellaneous utility functions.
> > +"""
> > +
> > +
> > +def get_extended_due_date(node):
> > +    """
> > +    Gets the actual due date for the logged in student for this node, returning
> > +    the extendeded due date if one has been granted, otherwise returning the
> > +    global due date for the unit.
> > +    """
> Do we have to worry about the case where a student is given an extension, but then the entire assignment due date is pushed back (i.e. should we be grabbing the later of the two instead of always having extended_due take precedence)?
> 
> —
> Reply to this email directly or view it on GitHub.
>