# HG changeset patch # User Paul Boddie # Date 1329261858 -3600 # Node ID 714286fe585c8f10b87243a0ed5c6a24ee6e41e6 # Parent a065e978d3cbd767c6a08d5c777d4fc731d2352d Fixed day-level end dates in aggregated iCalendar events. Updated the release information. diff -r a065e978d3cb -r 714286fe585c EventAggregatorSupport.py --- a/EventAggregatorSupport.py Sun Jan 22 00:01:02 2012 +0100 +++ b/EventAggregatorSupport.py Wed Feb 15 00:24:18 2012 +0100 @@ -44,7 +44,7 @@ escape = wikiutil.escape -__version__ = "0.8.2" +__version__ = "0.8.3" # Date labels. @@ -634,6 +634,8 @@ property = property[2:] if attrs.get("VALUE") == "DATE": value = getDateFromCalendar(value) + if value and property == "END": + value = value.previous_day() else: value = getDateTimeFromCalendar(value) diff -r a065e978d3cb -r 714286fe585c PKG-INFO --- a/PKG-INFO Sun Jan 22 00:01:02 2012 +0100 +++ b/PKG-INFO Wed Feb 15 00:24:18 2012 +0100 @@ -1,12 +1,12 @@ Metadata-Version: 1.1 Name: EventAggregator -Version: 0.8.2 +Version: 0.8.3 Author: Paul Boddie Author-email: paul at boddie org uk Maintainer: Paul Boddie Maintainer-email: paul at boddie org uk Home-page: http://moinmo.in/MacroMarket/EventAggregator -Download-url: http://moinmo.in/MacroMarket/EventAggregator?action=AttachFile&do=view&target=EventAggregator-0.8.2.tar.bz2 +Download-url: http://moinmo.in/MacroMarket/EventAggregator?action=AttachFile&do=view&target=EventAggregator-0.8.3.tar.bz2 Summary: Aggregate event data and display it in an event calendar (or summarise it in iCalendar and RSS resources) License: GPL (version 2 or later) Description: The EventAggregator macro for MoinMoin can be used to display event diff -r a065e978d3cb -r 714286fe585c README.txt --- a/README.txt Sun Jan 22 00:01:02 2012 +0100 +++ b/README.txt Wed Feb 15 00:24:18 2012 +0100 @@ -28,6 +28,9 @@ Important Notices ----------------- +Release 0.8.3 fixes end dates in events aggregated from remote iCalendar +sources. + Release 0.7.1 restores MoinMoin 1.9.x compatibility which was accidentally lost in the 0.7 release. @@ -298,6 +301,15 @@ time zone information for the correct interpretation of time information in those summaries. Thus, it is highly recommended that pytz be installed. +New in EventAggregator 0.8.3 (Changes since EventAggregator 0.8.2) +------------------------------------------------------------------ + + * The end dates defined in events from remote iCalendar event sources were + not correctly adjusted when aggregating such events. Thus, events with a + day-level resolution will have appeared one day longer in calendars and + summaries than was actually specified in the source data. This adjustment + has now been introduced. + New in EventAggregator 0.8.2 (Changes since EventAggregator 0.8.1) ------------------------------------------------------------------ diff -r a065e978d3cb -r 714286fe585c setup.py --- a/setup.py Sun Jan 22 00:01:02 2012 +0100 +++ b/setup.py Wed Feb 15 00:24:18 2012 +0100 @@ -8,6 +8,6 @@ author = "Paul Boddie", author_email = "paul@boddie.org.uk", url = "http://moinmo.in/MacroMarket/EventAggregator", - version = "0.8.2", + version = "0.8.3", py_modules = ["EventAggregatorSupport", "MoinMoin.script.import.eventfeed"] )