Merged [5899] from suresh.krishnan@ericsson.com:

When working group chairs added an annotation to a document, the date on the
history entry was wrong. It has now been fixed. Fixes issue #1046.
 - Legacy-Id: 5928
Note: SVN reference [5899] has been migrated to Git commit 60bab5fe50
This commit is contained in:
Henrik Levkowetz 2013-07-31 14:01:08 +00:00
commit ddf45fd995

View file

@ -294,7 +294,7 @@ class DraftTagsStateForm(StreamDraftForm):
comment = self.cleaned_data.get('comment').strip()
if comment:
e = DocEvent(type="added_comment")
e.time = self.draft.time
e.time = datetime.datetime.now()
e.by = self.person
e.doc_id = self.draft.pk
e.desc = comment