I see that in your sample schedule it says "Overnight" for the early morning hours.

Our site says 6AM and we've had a few complaints about that. See here:
https://community.channelaustin.org/watch/schedule/10

How are you inserting the work "Overnight"

Is it in the View?

Thanks

Comments

emilyf’s picture

You can override this in the theme file that's included in the template folder of the module. There is something weird that goes on that we haven't yet debugged where the calendar view's key array is incorrect and seems to apply anything between the hours of midnight and 6am with the same "key"...we get around this at RETN by replacing what you see in line 52 of the calendar-day.tpl file with:

<span class="calendar-hour"><?php if($key == '04:00:00'){ print "Overnight"; }else{ print date('g:i', strtotime($key)); } ?></span><span class="calendar-ampm">&nbsp;<?php if($key != '04:00:00'){print $hour['ampm'];} ?></span>

Note that sometimes the key is set to 05:00:00 or something else -- in your case based on your example I would guess yours is getting put in 06:00:00, so you'll probably need to replace the 04:00:00 with 06:00:00 to make that work in your template override.

If this is happening to a lot of people we could probably put another setting on the setting's page to apply "overnight" in place of a particular time period.