Time Sensitive!!! Day of Week is incorrect

Home Forums Calendar Products Events Calendar PRO Time Sensitive!!! Day of Week is incorrect

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #60413
    Daniella
    Participant

    Hi,
    On the single event page, http://kidoinfo.com/ri/event/wake-up-in-the-barnyard-bristol-5/2013-08-17/, the day of the week is incorrect. Note this example as showing a Tuesday instead of Saturday. The code is
    Please help and thank you!

    #60422
    Barry
    Member

    Hi Daniella,

    Looks like your code was stripped from your reply (the forum doesn’t handle code very nicely) – could you add it a second time by sharing it via Pastebin, Gist or a similar service?

    Thanks – and sorry for the inconvenience.

    #60423
    Daniella
    Participant

    Sorry, here’s the link: http://pastebin.com/embed.php?i=953u6Mse

    #60447
    Barry
    Member

    Hi Daniella:

    <?php echo the_time('l, ') ?><?php echo tribe_events_event_schedule_details(); ?>

    So the first bit of code – the_time() – is a WordPress function that displays the time of the post (which isn’t the same thing as the time of the event – it really refers to the date and time that the event was created). The format you specified is just to display the day of the week – so yes unfortunately there is a good chance those will be out of synch in the majority of cases.

    How about trying tribe_get_event_date() instead?

    #60450
    Daniella
    Participant

    I echoed that but got a fatal error. Any ideas?

    #61219
    Rob
    Member

    Hey Daniella. Thanks for the follow-up; my apologies but I’m not sure Barry saw your reply. He’s only operating with us at about 1/2 capacity this week but we’ll definitely get you a reply here over the next 24-hours. Thanks for your patience so far.

    #61417
    Barry
    Member

    I’m very sorry Daniella, it did indeed slip through. So can you try something like this:

    <?php echo tribe_get_start_date(get_the_ID(), false, 'l, ') ?>

    Does that achieve what you want here?

    #61562
    Daniella
    Participant

    Fantastic! Thank you so much!

    #61587
    Barry
    Member

    Excellent!

    #979850
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Time Sensitive!!! Day of Week is incorrect’ is closed to new replies.