Closed saumier closed 1 year ago
End date is loaded with one day extra. End date from Artsdata is 2023-03-24 but is displayed in Old CMS and New CMS as 2023-03-25.
http://api.artsdata.ca/query?adid=K23-25&sparql=query_adid&frame=event_footlight&format=json&source=http://kg.artsdata.ca/culture-creates/footlight/toutculture-ca "endDate": "2023-03-24"
http://staging.oldcms.footlight.io/admin/add-event/?id=6418bbabc2ba9b006977a155 "endDate": "2023-03-25"
The issue was in the footlight admin api, the date formatting in listing events and event details API wasn't considering the scheduled timezone.
End date is loaded with one day extra. End date from Artsdata is 2023-03-24 but is displayed in Old CMS and New CMS as 2023-03-25.
http://api.artsdata.ca/query?adid=K23-25&sparql=query_adid&frame=event_footlight&format=json&source=http://kg.artsdata.ca/culture-creates/footlight/toutculture-ca "endDate": "2023-03-24"
http://staging.oldcms.footlight.io/admin/add-event/?id=6418bbabc2ba9b006977a155 "endDate": "2023-03-25"