Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9996
    Cuboctaedro
    Participant

    I am using Event Maker on a website with custom templates and the default calendar widget. I started developing having “site Language” from WordPress settings set to English and everything was fine. But when I changed the language to Greek I can not get the events starting date (I get today’s date instead) and the calendar does not appear at all.
    From what I have seen em_get_the_start() works fine and the problem is with em_format_date(). I suppose somewhere along the way a strtotime() is used that expects a date in English.
    Any ideas how it can be fixed?

    #9997
    Cuboctaedro
    Participant

    Correction: The calendar works fine, the problem is only with em_format_date().

    #10035
    Bartosz
    Keymaster

    Hmm…
    From what I know strtotime() indeed expects the date in english, but that’s not the issue probably.

    What are your date / time settings in EM? Is this close to what you use in general WP settings? Did you try to change / reset what you have in EM date / time?

    #10049
    Cuboctaedro
    Participant

    OK. I have set the same date format in WordPress and EM and now it works fine, thanks a lot.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.