Yet another bugfix for days-in-state information
- Legacy-Id: 1668
This commit is contained in:
parent
4973fafada
commit
55030aaf30
|
@ -1,3 +1,9 @@
|
|||
ietfdb (2.33)
|
||||
|
||||
* Yet another bugfix for days-in-state information. From Pasi.
|
||||
|
||||
-- Henrik Levkowetz <henrik@levkowetz.com>
|
||||
|
||||
ietfdb (2.32)
|
||||
|
||||
* Make the 1wg-charters.txt page stable, not changing dependent on the
|
||||
|
|
|
@ -368,7 +368,8 @@ class IetfProcessData:
|
|||
return self._idinternal.documentcomment_set.filter(
|
||||
Q(comment_text__istartswith="Draft Added by ")|
|
||||
Q(comment_text__istartswith="State Changes to ")|
|
||||
Q(comment_text__istartswith="Sub state has been changed to ")).order_by('-id')[0].date
|
||||
Q(comment_text__istartswith="Sub state has been changed to ")|
|
||||
Q(comment_text__istartswith="State has been changed to ")).order_by('-id')[0].date
|
||||
except IndexError:
|
||||
# should never happen -- return an obviously bogus date
|
||||
return date(1990,1,1)
|
||||
|
|
Loading…
Reference in a new issue