Viewing 9 replies - 1 through 9 (of 9 total)
  • Can you provide a URL to illustrate this? Thanks!

    Thread Starter atelierstudios

    (@atelierstudios)

    Take a look at the 21ST CENTURY COASTGUARD event, date is 22thhttp://www.solentprotection.org/events/

    Those date blocks don’t look like something our plugin generates. Does that come from a customization/are you leveraging your theme there?

    Thread Starter atelierstudios

    (@atelierstudios)

    I have a folder called tribe-events in my theme with a file called list.php that is being used for that template, all pretty standard… the date is being pulled out with the following code.

    <?php echo tribe_get_start_date( $event = null, $displayTime = false, $dateFormat = 'j' ) ?><span class="small"><?php echo tribe_get_end_date( $event = null, $displayTime = false, $dateFormat = 'S' ) ?></span>

    Thread Starter atelierstudios

    (@atelierstudios)

    Any ideas on this yet?

    Any ideas on this yet?

    Just to avoid any misunderstandings, we only scan this forum once a week as we have to prioritize paying customers – so responses will not be instant!

    tribe_get_start_date( $event = null, $displayTime = false, $dateFormat = 'j' )

    With regards to your code, that is a very strange way to pass parameters to a function (since you are also assigning). Please consider a different approach there in the first instance, like:

    tribe_get_start_date( null, false, 'j' )

    Right now this really looks like an issue with your custom coding rather than a problem with The Events Calendar itself.

    Thread Starter atelierstudios

    (@atelierstudios)

    Thanks Barry… didn’t want to seem pushy but the previous post was 6 days ago… thanks for your reply anyway.. I will take a look at the code mentioned above. I couldn’t find much documentation about custom themes so I think that code was taken directly from the plugin files… Apologies I am not a developer.

    Thread Starter atelierstudios

    (@atelierstudios)

    Hi Barry

    Just to confirm this has resolved my issue… thanks for your help.

    Fantastic!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Date suffixes wrong on Date Changed Events’ is closed to new replies.