# HG changeset patch # User Paul Boddie # Date 1485874746 -3600 # Node ID 14aa9761d56b72a04c7fd72d7d6379ee49f59153 # Parent d4f61598478b2caf674549f8c75011a757b1033f Fixed previous tidying of uid generation, restoring timestamp generation. diff -r d4f61598478b -r 14aa9761d56b imipweb/calendar.py --- a/imipweb/calendar.py Tue Jan 31 15:53:41 2017 +0100 +++ b/imipweb/calendar.py Tue Jan 31 15:59:06 2017 +0100 @@ -3,7 +3,7 @@ """ A Web interface to an event calendar. -Copyright (C) 2014, 2015, 2016 Paul Boddie +Copyright (C) 2014, 2015, 2016, 2017 Paul Boddie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -133,6 +133,8 @@ end_value, end_attr = get_datetime_item(end, tzid) user_attr = self.get_user_attributes() + utcnow = get_timestamp() + rwrite(("UID", {}, uid)) rwrite(("SUMMARY", {}, summary or (_("New event at %s") % utcnow))) rwrite(("DTSTAMP", {}, utcnow))