MyBB Community Forums
[Enhancement] Calendar Event (single) with Date and Time - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: Suggestions and Feedback (https://community.mybb.com/forum-199.html)
+--- Thread: [Enhancement] Calendar Event (single) with Date and Time (/thread-226426.html)



Calendar Event (single) with Date and Time - [ExiTuS] - 2020-02-11

It would be beneficial to create a single (non-ranged) calendar event with a date + start time.
So an event can be more specified.

Achieving this with minor midification in calendar.php and inc/datahandler/event.php - so principally:
- calendar.php: Add $event['start_date']['time'] for single event.
- event.php: Separate $event[start_date][time] and $event[end_date][time] validation and make time validation method available in "single" condition.
- Add another input field to calendar templates.

[ExiTuS]