• Resolved luiskabes

    (@luiskabes)


    Hello Dev Team,
    firstly, i want to ask is that possible to custom the template? and then i’ve try to customizing the core plugin for the template list.php, looks like the $ev_time has return a date, not a time

    https://ibb.co/WgFVGYH

    and is that possible to achieve something like this?
    https://ibb.co/jkMf7Mp

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jyoti Bhandari

    (@jyoti197)

    Hi @luiskabes,

    Go to template-events-calendar/includes/events-shortcode.php and add code in line no. 321

     
    $time_format = get_option( 'time_format' );

    replace line no 321 && 322 with given code:-

    $start_date = tribe_get_start_date(  $event, false, $time_format );
    $end_date = tribe_get_end_date(  $event, false, $time_format );

    Let me know if you have still any questions.

    Thanks & Regards

    Thread Starter luiskabes

    (@luiskabes)

    got it, it’s works, btw, how to set the time format to be 24 hours?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘$ev_time just showing the date, not the time’ is closed to new replies.