WordPress.org

Forums

Events Calendar
Change format date for (Day-Month-Year) (4 posts)

  1. dnqjrmail
    Member
    Posted 2 years ago #

    When will I submit an event, the plugin tells me that I fill in the date format (day, month, year) but if I write in this format, it does not register the event and takes my calendar for the year 2019, I found that to succeed I fill in the date format (year, month, day).

    Question: Anyone know how to make the completion date in the format actually (day, month, year) because I'm in Brazil, and here's how we use

    thank you

    http://wordpress.org/extend/plugins/events-calendar/

  2. mofotrip
    Member
    Posted 2 years ago #

    I need the same! Your find the solution?

  3. rapportdesign
    Member
    Posted 2 years ago #

    When adding an event, complete the date in the format specified...

    YYYY-MM-DD

    To display the date on your website (day, month, year) within the widget, I made the following change to ec_calendar.class.php on line 146...

    $timeStp = mktime(0, 0, 0, $day, $month, $year);

  4. rapportdesign
    Member
    Posted 2 years ago #

    My fix above caused errors...

    The actual way to achieve this is to change the large calendar dates format to j/n/Y within the Events Calendar options panel.

    A little confusing, as you'd expect the Widget Calendar Dates box to affect the Widget Date format!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.