1.1 --- a/imipweb/calendar.py Tue Jan 31 15:53:41 2017 +0100
1.2 +++ b/imipweb/calendar.py Tue Jan 31 15:59:06 2017 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 A Web interface to an event calendar.
1.6
1.7 -Copyright (C) 2014, 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2014, 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -133,6 +133,8 @@
1.13 end_value, end_attr = get_datetime_item(end, tzid)
1.14 user_attr = self.get_user_attributes()
1.15
1.16 + utcnow = get_timestamp()
1.17 +
1.18 rwrite(("UID", {}, uid))
1.19 rwrite(("SUMMARY", {}, summary or (_("New event at %s") % utcnow)))
1.20 rwrite(("DTSTAMP", {}, utcnow))