We have some issues with events generated through plone.restapi and their dates and timezones.
The site TZ is set to
Europe/Amsterdam. The start and end date of end event (coming from collective.jsonify) are
(Pdb++) pp object_data['startDate'] '2020/08/25 09:00:00 GMT+2' (Pdb++) pp object_data['endDate'] '2020/08/25 17:00:00 GMT+2'
They are created in Plone 5.2.2 as
>>> doc.start datetime.datetime(2020, 8, 25, 13, 0, tzinfo=<DstTzInfo 'Europe/Amsterdam' CEST+2:00:00 DST>) >>> doc.end datetime.datetime(2020, 8, 25, 21, 0, tzinfo=<DstTzInfo 'Europe/Amsterdam' CEST+2:00:00 DST>)
So there clearly visible some four hour offset (coming from the
GMT+2 from the date data and perhaps the
UTC+2 from the global timezone settings. The event dates are also shown as
1 PM and 9 PM.
Any trickery I am missing here?