It looks like you're new here. If you want to get involved, click one of these buttons!
Disregard... this was a permissions problem. Sorry
Actually I just realized there's already a function writeMiniPager in applications/vanilla/views/discussions/helper_functions.php
This can be used for that purpose
I did a lot of inspection and I see this happens when you have a different timezone set for Vanilla.
Basically the event date is stored and displayed at time 00:00:00 for the date specified. So if you're in a timezone that has time earlier than the one for Vanilla, when creating the event, then the date displayed will be earlier than the start of the day you set.
I did a quick hack so that the date displayed reflects 12 noon, which at least in my case is more than enough time to compensate for the TZ difference.
I added this to the function displayEventDate inside the
$EventDate = "$EventDate 12:00:00";
This should be harmless because it only changes the display.