Create event end time drop-down doesn't give the appropriate options

Environment

Discourse Version: 3.1.0.beta2

Plugin Commit: GitHub - paviliondev/discourse-events: Allows you to manage events in Discourse

Steps to Reproduce

  1. Click the Create a new Topic button.
  2. Click on the gear icon to reveal more WYSIWYG options.
  3. Select “Create event”.
  4. Enter a start date in the future and a start time of 11:30.
  5. Enter an end date equal to the start date.
  6. Select the drop-down for the end time.
  7. Notice that the end time options don’t include 13:00 or 13:30. They stop at 12:30 and start again at 14:00.

Example

https://forum.test.theputtyverse.com/

This is our test environment which is protected from logged by two layers. We’re not running the Discourse Events plugin in production yet.

Logs

Screenshot at Dropbox - Discourse Events Bug with End Time Drop-Down Values.jpg - Simplify your life

@angus I can reproduce on coop. There’s always one or two options missing, for lengths 1:00 and 1:30. Can you please have a look?

Aside and probably not related, but it keeps me from investigating further. For some reason I can’t get the ‘create event’ to work on my own dev instance, it just does not appear.

This is an issue with the Discourse Event plugin, not the Events Plugin.