in month view for recurring events during 1 day I see hour 00.00 instead of see only title event.
What I get wrong?
Thanks in advance for your reply
That’s correct and default behavior. All timed (< 24 hours in duration) display their start date. On you screenshot it’s also “Scadenza” event on the first line. In that sense “00:00” is not much different to, say, “10:35”.
You can edit template though if you want it to be different.
Thanks for your answer and for your time.
I thought that recurring event didn’t display the hour as I see in exemple (Second Friday):
Anyway, I tried to custom templates and intercet rec_type value as follows:
but it doesn’t work and if I try to see the rec_type content I receive “Null”, even if in my db I have “year_1___”.
Could you tell me where I getr it wrong, please?
My terrible workaround is this and it works:
return scheduler.templates.hour_scale(start)+" ";
Ouch, I believe you are over complicating things.
Second Friday event doesn’t have time displayed because it happens from 00:00 till 00:00 the next day. If it were from 00:00 till 15:00 - it’s start date (00:00) would be displayed.
It’s the same for both recurring and not events. There are no such checks in templates logic.
With that said try to sum up your logic - in which cases you want time and in which not and maybe we will find better solution.