Skip to main content

Event and calendaring related tools not bound to Plone

Project description

Introduction

Event/Calendaring related infrastructure. Recurrence calculation tools based on RFC2445 and timedelta recurrence rules, timezone tools and date conversion tools.

Parts of this package derived from Products.DateRecurringIndex.

Changelog

3.0.0 (2026-05-16)

Internal:

  • Make final release, no further changes.

3.0.0a1 (2025-11-19)

Breaking changes:

  • Replace pkg_resources namespace with PEP 420 native namespace. Support only Plone 6.2 and Python 3.10+. (#3928)

2.0.3 (2025-09-10)

Internal:

  • Move distribution to src layout [gforcada] (#4217)

2.0.2 (2024-05-06)

Bug fixes:

  • Keep the rrule UNTIL property UTC specifier, if defined. [mamico] (30-2)

  • Set the rrule’s EXDATE to the same time as the event’s start time. In our implementation we want the rrule’s EXDATE property to have the same time as the event’s start time. Otherwise recurrence dates might be included where they should not due to an user-undefined EXDATE time. [mamico] (#30)

2.0.1 (2023-10-07)

Bug fixes:

  • Ignore dtstart and until time in rrule in recurrence_sequence_ical [mamico] (#23)

Internal:

  • Update configuration files. [plone devs] (b940914a, cfffba8c)

2.0.0 (2023-04-19)

Breaking changes:

  • Drop python 2.7 compatibility. [gforcada] (#1)

Internal:

  • Update configuration files. [plone devs] (5cc689e5)

1.4.2 (2023-01-24)

Bug fixes:

  • Fix AttributeError: ‘NoneType’ object has no attribute ‘astimezone’. Fixes issue 13. [gogobd] (#13)

1.4.1 (2020-04-20)

Bug fixes:

  • Minor packaging updates. (#1)

1.4.0 (2018-10-31)

Breaking changes:

  • Needs icalender >4.0.2 which depends on python-dateutil 2.7.3 which has itself some minor but breaking changes comparedto the 2.6-series. [jensens]

New features:

  • Update trove classifiers. [thet]

Bug fixes:

  • Test fixes for improved icalender >4.0.2 [jensens]

1.3.4 (2017-08-04)

Bug fixes:

  • fix test to work with newer pytz. [jensens]

1.3.3 (2016-12-19)

Bug fixes:

  • Update code to follow Plone styleguide. [gforcada]

1.3.2 (2016-11-17)

New features:

  • Support Python 3. [davisagli]

1.3.1 (2016-08-12)

Fixes:

  • Use zope.interface decorator. [gforcada]

1.3 (2015-09-16)

  • Remove unittest2 dependency. [gforcada]

1.2 (2015-09-09)

  • Fixed guesstz test to work with old and new pytz versions. pytz 2014.2 and earlier say:

    <DstTzInfo 'Europe/Vienna' CET+1:00:00 STD>

    and pytz 2014.3 and later say:

    <DstTzInfo 'Europe/Vienna' LMT+1:05:00 STD>

    where LMT stands for Local Mean Time. [maurits]

1.1 (2014-02-11)

  • Fix tests, where they broke with unicode recurrence strings and unicode date formatting strings. [thet]

  • Make rrule munging hack only apply to RDATE, EXDATE and UNTIL which have null times, otherwise the DateRecurrenceIndex is broken for those who are generating RRULES using a non-broken widget. This will still result in broken RRULEs for some edge cases (where an RDATE is explicitly set for midnight on a RRULE with a DTSTART which is not), but that’s better than breaking valid RRULES which are not generated improperly. This code should go into the broken widget itself or its DataManager/Field. [alecpm]

1.0 (2013-11-06)

  • Add duration parameter to recurrence_sequence_ical to include events, which started before the queried timerange. [thet]

1.0rc1 (2013-07-03)

  • Handle the case, that plone.formwidget.recurrence doesn’t currently set the times for UNTIL, RDATE and EXDATE definitions, what lead into wrong (or better, unexpected) recurrence results with recurrence_sequence_ical. We now replace the T000000 time definitions in the recurrence string with the time of the start date for RDATE and EXDATE definitions and with the time of the end of the day for UNTIL definitions (and so including a possible occurrence on the UNTIL date, as defined by RFC5545). This bugfix should be kept in here until the recurrence widget fixes that or when it supports setting custom times for UNTIL, RDATE and EXDATE parts. [thet]

1.0b4 (2013-05-27)

  • Add open_end attribute to IEventAccessor interface definition to mark events without a defined end time. [thet]

  • Change of pydt signature: exact instead of microseconds and set the default to False. [thet]

1.0b3 (2013-04-24)

  • Raise test coverage to 100%. [thet]

  • Add date_to_datetime, is_date, is_datetime to plone.event.utils. [thet]

1.0b2 (2013-02-08)

  • Package metadata updated. [thet]

1.0b1 (2012-10-12)

  • In plone.event.utils.guesstz, don’t return UTC timezone for timezoneNaive DateTime objects. Let the callee decide what to do with timezoneNaive DateTime. [thet]

  • Remove microseconds for recurrence_sequence_ical, since python-datetime rrulestr does not support microseconds. [thet]

  • Let pydt preserve microseconds when converting from Zope DateTime. [thet]

  • Include default IEventAccessor adapter. [thet]

  • In pydt conversion util function, test for Zope DateTime via class name. Return Null, if something else than a datetime or DateTime object is given. [thet]

  • Reduce MAXCOUNT for recurrences from 100000 to 1000. Indexing unlimited recurrences took too long. [thet]

  • Added dedicated timezone validator with fallback zone. [thet]

1.0a1 (2012-02-24)

  • Initial alpha (!) release from the Plone Konferenz 2012 in Munich. [thet]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plone_event-3.0.0.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plone_event-3.0.0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file plone_event-3.0.0.tar.gz.

File metadata

  • Download URL: plone_event-3.0.0.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for plone_event-3.0.0.tar.gz
Algorithm Hash digest
SHA256 3b4aca28c3396efb5d389d202ce1cb3d8b61ee9815428edcb3333a33d0d933c8
MD5 f264bad5e7121e6a678ec61dbfc87be3
BLAKE2b-256 8fe59b8195f6085c25e6840c34103c954d6cfe574c32fbb18d1a7e9e51e47408

See more details on using hashes here.

File details

Details for the file plone_event-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: plone_event-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for plone_event-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca598a3777203a489b6de98ef4a90385995e1ff7684b2434112e273188c4e1f9
MD5 44fd6f307583e09890c4aec210dbca26
BLAKE2b-256 d94c4d4c163ed7fa1f5e38ad4bfe25390de23febb116e311ac7da22b1b43a62d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page