Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

site with the site timezone set to Africa/Abidjan throws ValueError #395

Open
gyst opened this issue Jun 6, 2024 · 0 comments
Open

site with the site timezone set to Africa/Abidjan throws ValueError #395

gyst opened this issue Jun 6, 2024 · 0 comments

Comments

@gyst
Copy link
Member

gyst commented Jun 6, 2024

While testing #394 @davisagli found a related bug:

A Plone site with the site timezone set to Africa/Abidjan, requesting an ical export:

Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 391, in publish_module
  Module ZPublisher.WSGIPublisher, line 285, in publish
  Module ZPublisher.mapply, line 98, in mapply
  Module ZPublisher.WSGIPublisher, line 68, in call_object
  Module plone.app.event.ical.exporter, line 407, in __call__
  Module plone.app.event.ical.exporter, line 403, in get_ical_string
  Module zope.component.hooks, line 144, in adapter_hook
  Module plone.app.event.ical.exporter, line 165, in calendar_from_event
  Module plone.app.event.ical.exporter, line 82, in construct_icalendar
  Module icalendar.cal, line 194, in add
  Module icalendar.cal, line 145, in _encode
  Module icalendar.prop, line 852, in __init__
ValueError: Offset value MUST be a timedelta instance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant