We have found a strange thing.
In an assignment or quiz (or any activity, it seems) if the closing date is 23:00, or after, on 31 October (this year or next year), the event does not show up in the course calendar.
Before 23:00 it does. On the last day of other months it seems to. (We haven't tried all scenarios.)
We are using Moodle 3.1
Is this a bug?