• Resolved JonnyBoheme

    (@jojobo11)


    Hi,
    is there a possibility to display the date including the year ? For dates in the next year this doesn’t seem to be an issue but I’d like dates for the current year to be displayed in full e.g. 29. November 2016 (is what I want) instead of just 29. November (is what I get).

    thx for help ??

Viewing 1 replies (of 1 total)
  • Plugin Author Brian Hogg

    (@brianhogg)

    Hello!

    The date format is determined by your WordPress date/time settings, under Settings > General. Otherwise there is a filter ecn_start_date_output to change the format, by placing something like this inside a functional plugin or your theme’s functions.php:

    function my_ecn_date_format( $output, $event ) {
        return date_i18n( 'd. F Y', $event->get_start_date() );
    }
    add_filter( 'ecn_start_date_output', 'my_ecn_date_format', 10, 2 );
    

    Hope this helps. If not let me know!

Viewing 1 replies (of 1 total)
  • The topic ‘display full date of current year(the events calendar shortcodes)’ is closed to new replies.