All DateTime Objects are specifying a timezone (UTC), which is incorrect because the Ticketmatic API returns all times in local time.
For example, if you use Events::getlist() the salestartts field of events looks like this:
DateTime Object
(
[date] => 2021-01-08 20:00:00.000000
[timezone_type] => 3
[timezone] => UTC
)
This particular theater however is based in Rotterdam (UTC +2) which means that all times are two hours off.
This can cause problems if you are importing the data for use on a website that is based in a different timezone.
All DateTime Objects are specifying a timezone (UTC), which is incorrect because the Ticketmatic API returns all times in local time.
For example, if you use
Events::getlist()thesalestarttsfield of events looks like this:This particular theater however is based in Rotterdam (UTC +2) which means that all times are two hours off.
This can cause problems if you are importing the data for use on a website that is based in a different timezone.