You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the examples here: https://marketplace.humhub.com/module/calendar/docs/swagger/calendar.html#tag/Calendar-entry/paths/~1calendar~1container~1%7Bid%7D/post , the all_day attribute doesn't seem to have any effect when new calendar events are submitted. The server confirms receipt, sets the event on the calendar according to the submitted dates/times but the response from the server shows a 0 for all_day when a 1 is submitted. I've tried adjusting the dates/times to match other examples the above page but nothing seems to allow me to create new calendar events as all_day events.
POSTed to: https://{domain}/api/v1/calendar/container/{sleep_calendar}
@luke- I confirm the changes in all 3 PRs. No need to keep the method prepareRequestParams completely, because it forces all_day to 0 when start or end dates are passed, that is strange, also the verifying from the method works well from calendar and task models side.
Following the examples here: https://marketplace.humhub.com/module/calendar/docs/swagger/calendar.html#tag/Calendar-entry/paths/~1calendar~1container~1%7Bid%7D/post , the all_day attribute doesn't seem to have any effect when new calendar events are submitted. The server confirms receipt, sets the event on the calendar according to the submitted dates/times but the response from the server shows a 0 for all_day when a 1 is submitted. I've tried adjusting the dates/times to match other examples the above page but nothing seems to allow me to create new calendar events as all_day events.
POSTed to: https://{domain}/api/v1/calendar/container/{sleep_calendar}
example JSON that won't create an all-day event:
The text was updated successfully, but these errors were encountered: