add 'last-modified'

This commit is contained in:
Dmitry Belyaev 2018-03-30 20:45:21 +03:00
parent a0ded66f85
commit 2a588ab2fd
Signed by: b4tman
GPG Key ID: 014E87EC54B77673

View File

@ -86,6 +86,7 @@ def make_event(person, year):
event_date.year, event_date.month, event_date.day)) event_date.year, event_date.month, event_date.day))
event.add('dtstart', event_date) event.add('dtstart', event_date)
event.add('duration', one_day) event.add('duration', one_day)
event.add('last-modified', datetime.datetime.utcnow())
return event return event