• Resolved babak_izadi

    (@babak_izadi)


    Hi everyone,

    I am using Events Manager in a Persian (Farsi) website and also using a plugin called “wp-jalali” which converts any Date to Persian Calendar format whole through the WordPress.
    Unfortunately the only dates which I still receive in Gregorian Calendar format are in Events Manager areas.
    Is there anything that prevent this conversion ?

    Regards,
    Babak

    https://www.ads-software.com/plugins/events-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hiya,

    Which parts of EM aren’t being converted exactly? Could you link to your site or post screenshots?

    I had a brief look at WP-Jalali and it appears to use the correct filters.

    Thanks,
    Phil

    Thread Starter babak_izadi

    (@babak_izadi)

    Hi Phil
    Everywhere same situation ! Widget, Event Page,…
    Here is my site with some sample data:
    https://www.itgforum.com/
    in this homepage you can see “Event Widget” at the Bottom-Left which display a Gregorian date and “Recent Post” widget at the Bottom-Right which works fine and display the Persian date (both have “F j, Y” date format)!

    https://www.itgforum.com/%D8%B1%D9%88%DB%8C%D8%AF%D8%A7%D8%AF%D9%87%D8%A7/
    in this page which is my Events list page also the same situation with the Gregorian date format!

    I should mention that when I update the date format from Event settings it works fine but in different shapes of Gregorian!

    Regards,
    Babak

    Phil / Angelo may know more about this than me, but it would be worth checking that the plugin is designed to work with custom post types. It’s possible that’s the issue.

    Thread Starter babak_izadi

    (@babak_izadi)

    Any idea ?

    Does anybody know where #_EVENTDATES parameter gets its value, so I can check or edit that part !
    I ask this question because there are so many files and checking them one by one is a very time consuming process!

    Thread Starter babak_izadi

    (@babak_izadi)

    Solved !!
    The problem is because “WP-Jalali” doesn’t support “date_i18n” so I changed “wp-content\plugins\events-manager\classes\em-event.php” file and the problem solved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Event Date Localization’ is closed to new replies.