add 'created' event property
This commit is contained in:
parent
2a588ab2fd
commit
bc9d60c844
@ -86,6 +86,7 @@ def make_event(person, year):
|
||||
event_date.year, event_date.month, event_date.day))
|
||||
event.add('dtstart', event_date)
|
||||
event.add('duration', one_day)
|
||||
event.add('created', datetime.datetime.utcnow())
|
||||
event.add('last-modified', datetime.datetime.utcnow())
|
||||
return event
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user