Date in the Widget

Home Forums Calendar Products Events Calendar PRO Date in the Widget

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #893705
    Stefan
    Participant

    Hi,
    in the widget, in the list view, the date have the format: Januar 31 @ 18:30, I would like to have it so: 31. Januar@18:30.
    I have the function php edited with:
    add_filter(‘tribe_events_event_schedule_details_formatting’, ‘uniform_date_format’);

    function uniform_date_format($settings) {
    $settings[‘same_year_format’] = get_option( ‘date_format’ );
    return $settings;
    }

    but doesn’t works
    Thanks, Stefan

    #893892
    Geoff
    Member

    Hi there, Stefan! Thanks for getting in touch. ๐Ÿ™‚

    Good question. Have you tried using the date settings instead of a function? For example, you can set your WordPress time format to 24-hour format (under Settings > General), then head over to the Event Date Format settings (under Events > Settings > Display) and update the “Date without year” option. Here’s a screenshot of how I configured it to match your format.

    Does that make sense? Will that work for you? Please let me know.

    Cheers!
    Geoff

    #904027
    Geoff
    Member

    Hey there Stefan! Just checking in to see if thereโ€™s been any further update or if you still need assistance on this one–let me know. ๐Ÿ™‚

    Cheers!
    Geoff

    #904859
    Stefan
    Participant

    Hi Geoff,
    Thanks for your reply and sorry for my late response. Thank you, with these settings it looks good.
    Best Regards,
    Stefan

    #905191
    Geoff
    Member

    Fantastic, thanks Stefan! I’m so glad that helped.

    I’ll ย go ahead and close this thread, but please feel free to hit us up with a new thread if any other questions pop up. We’d be happy to help. ๐Ÿ™‚

    Cheers!
    Geoff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Date in the Widget’ is closed to new replies.