Yes that looks like that’s it.
{
"_id": "PkhwqjWnCZCtL4xMr",
"name": "Crisis Skylight",
"address": {
"name": "Commercial Street 66, England, United Kingdom",
"location": {
"type": "Point",
"coordinates": [
-0.0739266,
51.5181011
]
}
},
"findHints": "https://www.crisis.org.uk/get-help/london/",
"overview": "If you are homeless, are at immediate risk of becoming homeless, or have been homeless in the last two years, you can access our services for free.",
"description": "We offer education, training and support at our centre in London. Come to an induction at 11am seven days a week. There's no need to book, just turn up.",
"organiser": {
"_id": "LTMSiYLPWLo48QrSD",
"name": "Maria Tkachuk"
},
"categories": [
{
"name": "Community Support (offers)",
"color": "#fe0a0a"
}
],
"when": {
"startingDate": {
"$date": "2017-05-18T23:00:00.000Z"
},
"endingDate": null,
"multipleDays": true,
"days": [
{
"day": "Sunday",
"startingTime": "11:00",
"endingTime": "17:00"
},
{
"day": "Monday",
"startingTime": "9:00",
"endingTime": "20:00"
},
{
"day": "Tuesday",
"startingTime": "9:00",
"endingTime": "20:00"
},
{
"day": "Wednesday",
"startingTime": "9:00",
"endingTime": "20:00"
},
{
"day": "Thursday",
"startingTime": "9:00",
"endingTime": "20:00"
},
{
"day": "Friday",
"startingTime": "9:00",
"endingTime": "18:00"
},
{
"day": "Saturday",
"startingTime": "11:00",
"endingTime": "17:00"
}
]
},
"createdAt": {
"$date": "2017-05-19T14:37:40.522Z"
},
"engagement": {
"limit": 0,
"attendees": []
}
}
One that works:
{
"_id": "kkq3tnPiu5stwHDLZ",
"organiser": {
"_id": "F2DCZWt5EKZxpBs82",
"name": "Richard Barclay"
},
"engagement": {
"limit": 1000,
"attendees": []
},
"createdAt": {
"$date": "2019-11-21T11:56:46.601Z"
},
"when": {
"startingTime": null,
"endingTime": null,
"recurring": null,
"repeat": false,
"startingDate": {
"$date": "2019-11-21T12:00:00.000Z"
},
"multipleDays": true,
"days": [
false,
{
"day": "Monday",
"startingTime": "9:00",
"endingTime": "14:30"
},
false,
{
"day": "Wednesday",
"startingTime": "9:00",
"endingTime": "14:30"
},
false,
{
"day": "Friday",
"startingTime": "9:00",
"endingTime": "14:00"
}
],
"endingDate": {
"$date": "2019-11-21T14:56:46.755Z"
}
},
"address": {
"name": "Clarence Road, Bognor Regis PO21 1JT, UK",
"location": {
"type": "Point",
"coordinates": [
-0.6701347000000624,
50.7835534
]
}
},
"categories": [
{
"name": "Food",
"color": "#e322e9"
},
{
"name": "Shower",
"color": "#14fffc"
},
{
"name": "Shelters",
"color": "#74fe6a"
}
],
"name": "Stonepillow Bognor Regis Hub",
"overview": "The Stonepillow Bognor Hub is located in Glenlogie, Clarence Road, Bognor Regis and offers support to homeless and vulnerable people within the Arun District.",
"description": "Snacks, a light lunch, and hot drinks are provided. Project workers are available to offer advice and support to people wishing to make positive changes to their lives. The Hub also provides emergency support such as clothing, washing and shower facilities for those that are street homeless in the Arun District.\n\nThe Hub also provides crisis accommodation for new rough sleepers and acts as the Arun Districts Severe Weather Emergency Provision (SWEP), when night-time temperatures are predicted to drop to below zero degrees for three consecutive nights.\n\nIf you need support when the Hub is closed, please contact Bognor Hostel on 01243 214058.",
"findHints": "Just turn up\n\nTel: 07734 558960/07515 328973\n\nhttps://stonepillow.org.uk/projects/stonepillow-bognor-regis-hub/"
}
I agree, this is a really good find. Let’s open a task to ensure logic is added to ensure events must have an ending date when created, or add a workflow for events to be repeating and this value be ignored. Once that logic is added I can manually inject the required value into this field.
What’s the intended function here? Would most events end?
I wouldn’t recommend simply setting new events to have an ending date an arbitrary date in the far distance.