Skip to content

Commit e7f3d7e

Browse files
committed
Added the last call end date to the first line of the last call announcement event description, on request from worley@ariadne.com.
- Legacy-Id: 13845
1 parent 0c573f2 commit e7f3d7e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ietf/doc/views_ballot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -865,14 +865,15 @@ def make_last_call(request, name):
865865
e = add_state_change_event(doc, login, prev_state, new_state, prev_tags=prev_tags, new_tags=new_tags)
866866
if e:
867867
events.append(e)
868+
expiration_date = form.cleaned_data['last_call_expiration_date']
868869
e = LastCallDocEvent(doc=doc, rev=doc.rev, by=login)
869870
e.type = "sent_last_call"
870-
e.desc = "The following Last Call announcement was sent out:<br><br>"
871+
e.desc = "The following Last Call announcement was sent out (ends %s):<br><br>" % expiration_date
871872
e.desc += announcement
872873

873874
if form.cleaned_data['last_call_sent_date'] != e.time.date():
874875
e.time = datetime.datetime.combine(form.cleaned_data['last_call_sent_date'], e.time.time())
875-
e.expires = form.cleaned_data['last_call_expiration_date']
876+
e.expires = expiration_date
876877
e.save()
877878
events.append(e)
878879

0 commit comments

Comments
 (0)