EventAggregator

Changeset

287:714286fe585c
2012-02-15 Paul Boddie raw files shortlog changelog graph Fixed day-level end dates in aggregated iCalendar events. Updated the release information. rel-0-8-3
EventAggregatorSupport.py (file) PKG-INFO (file) README.txt (file) setup.py (file)
     1.1 --- a/EventAggregatorSupport.py	Sun Jan 22 00:01:02 2012 +0100
     1.2 +++ b/EventAggregatorSupport.py	Wed Feb 15 00:24:18 2012 +0100
     1.3 @@ -44,7 +44,7 @@
     1.4  
     1.5  escape = wikiutil.escape
     1.6  
     1.7 -__version__ = "0.8.2"
     1.8 +__version__ = "0.8.3"
     1.9  
    1.10  # Date labels.
    1.11  
    1.12 @@ -634,6 +634,8 @@
    1.13                                  property = property[2:]
    1.14                              if attrs.get("VALUE") == "DATE":
    1.15                                  value = getDateFromCalendar(value)
    1.16 +                                if value and property == "END":
    1.17 +                                    value = value.previous_day()
    1.18                              else:
    1.19                                  value = getDateTimeFromCalendar(value)
    1.20  
     2.1 --- a/PKG-INFO	Sun Jan 22 00:01:02 2012 +0100
     2.2 +++ b/PKG-INFO	Wed Feb 15 00:24:18 2012 +0100
     2.3 @@ -1,12 +1,12 @@
     2.4  Metadata-Version: 1.1
     2.5  Name: EventAggregator
     2.6 -Version: 0.8.2
     2.7 +Version: 0.8.3
     2.8  Author: Paul Boddie
     2.9  Author-email: paul at boddie org uk
    2.10  Maintainer: Paul Boddie
    2.11  Maintainer-email: paul at boddie org uk
    2.12  Home-page: http://moinmo.in/MacroMarket/EventAggregator
    2.13 -Download-url: http://moinmo.in/MacroMarket/EventAggregator?action=AttachFile&do=view&target=EventAggregator-0.8.2.tar.bz2
    2.14 +Download-url: http://moinmo.in/MacroMarket/EventAggregator?action=AttachFile&do=view&target=EventAggregator-0.8.3.tar.bz2
    2.15  Summary: Aggregate event data and display it in an event calendar (or summarise it in iCalendar and RSS resources)
    2.16  License: GPL (version 2 or later)
    2.17  Description: The EventAggregator macro for MoinMoin can be used to display event
     3.1 --- a/README.txt	Sun Jan 22 00:01:02 2012 +0100
     3.2 +++ b/README.txt	Wed Feb 15 00:24:18 2012 +0100
     3.3 @@ -28,6 +28,9 @@
     3.4  Important Notices
     3.5  -----------------
     3.6  
     3.7 +Release 0.8.3 fixes end dates in events aggregated from remote iCalendar
     3.8 +sources.
     3.9 +
    3.10  Release 0.7.1 restores MoinMoin 1.9.x compatibility which was accidentally
    3.11  lost in the 0.7 release.
    3.12  
    3.13 @@ -298,6 +301,15 @@
    3.14  time zone information for the correct interpretation of time information in
    3.15  those summaries. Thus, it is highly recommended that pytz be installed.
    3.16  
    3.17 +New in EventAggregator 0.8.3 (Changes since EventAggregator 0.8.2)
    3.18 +------------------------------------------------------------------
    3.19 +
    3.20 +  * The end dates defined in events from remote iCalendar event sources were
    3.21 +    not correctly adjusted when aggregating such events. Thus, events with a
    3.22 +    day-level resolution will have appeared one day longer in calendars and
    3.23 +    summaries than was actually specified in the source data. This adjustment
    3.24 +    has now been introduced.
    3.25 +
    3.26  New in EventAggregator 0.8.2 (Changes since EventAggregator 0.8.1)
    3.27  ------------------------------------------------------------------
    3.28  
     4.1 --- a/setup.py	Sun Jan 22 00:01:02 2012 +0100
     4.2 +++ b/setup.py	Wed Feb 15 00:24:18 2012 +0100
     4.3 @@ -8,6 +8,6 @@
     4.4      author       = "Paul Boddie",
     4.5      author_email = "paul@boddie.org.uk",
     4.6      url          = "http://moinmo.in/MacroMarket/EventAggregator",
     4.7 -    version      = "0.8.2",
     4.8 +    version      = "0.8.3",
     4.9      py_modules   = ["EventAggregatorSupport", "MoinMoin.script.import.eventfeed"]
    4.10      )