1.1 --- a/actions/EventAggregatorNewEvent.py Thu Feb 04 21:55:26 2010 +0100
1.2 +++ b/actions/EventAggregatorNewEvent.py Fri Feb 05 00:19:27 2010 +0100
1.3 @@ -270,6 +270,11 @@
1.4 start_date = self.make_date_string(start_year, start_month, start_day)
1.5 end_date = self.make_date_string(end_year, end_month, end_day)
1.6
1.7 + # An elementary date ordering check.
1.8 +
1.9 + if start_date > end_date:
1.10 + start_date, end_date = end_date, start_date
1.11 +
1.12 # Copy the template.
1.13
1.14 page = PageEditor(request, template)