Ticket #12197 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

atct_topic_view: display event start/enddate with improper timezone

Reported by: ajung Owned by:
Priority: minor Milestone: 4.1
Component: General Version:
Keywords: Cc:


See attached screenshots.

A Plone event from 15.05-16.05 (German site, GMT+2) is displayed within a collection with an offset of 2 hours.

The culprit is in formatCatalogMetadata.py:

16 if same_type(value, DateTime()):$ 17 return context.toLocalizedTime(value.ISO8601(), long_format = long_format)$

Instead of


the code should use


in order to calculate the localized datetime string based on UTC time.


event.png Download (20.8 KB) - added by ajung 5 years ago.
collection.png Download (27.1 KB) - added by ajung 5 years ago.

Change History

Changed 5 years ago by ajung

Changed 5 years ago by ajung

comment:1 Changed 5 years ago by kleist

  • Component changed from Unknown to Infrastructure

comment:2 Changed 5 years ago by mborch

  • Status changed from new to closed
  • Resolution set to fixed

Fix committed to trunk and 1.3-branch (r246302).

comment:3 Changed 4 years ago by davisagli

  • Component changed from Infrastructure to General
Note: See TracTickets for help on using tickets.