Support

Home Forums Events Calendar Add-on Calendar time column

Calendar time column

Posted: September 2, 2021 at 7:18 am

Viewing 9 reply threads


haerzchlopfaehebamme

September 2, 2021 at 7:18 am

Hi Tony,
Despite the fact that I’ve set the calendar time format to H:i the calendar week and day views still show 6am to 11pm. Plus there is no translation setting for ‘all-day’.
Did I miss anything?
Best,
Lukas


haerzchlopfaehebamme

September 7, 2021 at 2:57 pm

This reply has been marked as private.


haerzchlopfaehebamme

September 13, 2021 at 5:17 am

This reply has been marked as private.


Seth Shoultes

  • Support Staff

September 14, 2021 at 7:11 am

Hi there, apologies for the delay. Can you please share a link to your calendar page so that we can take a look?


haerzchlopfaehebamme

September 14, 2021 at 7:18 am

This reply has been marked as private.


haerzchlopfaehebamme

September 14, 2021 at 7:34 am

This reply has been marked as private.


Tony

  • Support Staff

September 14, 2021 at 8:33 am

Hi Lukas,

My apologies for the delayed reply, I wanted to confirm before replying.

The time format used within the calendar settings set the time format used by the event itself, not the calendar, you can’t set time format used on the calendar axis currently without modifying the code.

The same applies to the ‘all-day’ text used, it’s the default value used by the FullCalendar library we use and we don’t currently pass a translated string over to replace it.

Having said that, I’ve created a feature branch to allow for these options which will be reviewed by one of our developers and if no issues are found included in the next version of the calendar.


haerzchlopfaehebamme

September 14, 2021 at 8:53 am

Hi Tony,
thanks for your explanation and for considering this as an amendment for the next version. In the meantime if there would be something like a php mod to include in functions.php or even a change to some lines of code in another php file that works until the next update, I would be able to apply it.
Best,
Lukas


Tony

  • Support Staff

September 14, 2021 at 9:05 am

There isn’t a way to do this without modifying the calendar code and there’s no hook you can use to include something in functions.php.

You can view the code changes I made to the calendar in this pull request. If you’d like to apply those changes to the version running on your site that’s up to you, just note that they may be different from what we actually push to the update.


haerzchlopfaehebamme

September 14, 2021 at 9:15 am

Thanks for being so kind as to share the code. I’d rather wait for the update.

Viewing 9 reply threads

The support post ‘Calendar time column’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso