Problem with presentation of Event time

Home Forums Calendar Products Events Calendar PRO Problem with presentation of Event time

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #930660
    hicct
    Participant

    Problem happens when we use letters for “Date and time separator” in plugin settings.
    In our case, we have “kl.” as a separator. PHP will detect “l” (lowercase L) character, and print full textual representation of the day of the week on frontend of the website. So, instead of “30. januar 2015 kl. 15:00 ” we see “30. januar 2015 kfredag. 15:00 “, where character “l” is replaced with textual representation of the day.

    “kl.” is a danish abbreviation. “Kl. 15:00” is Danish for “15:00 o’clock”.

    It only show if the event is over several days and start date therefor is different then end date.

    #930661
    hicct
    Participant

    This reply is private.

    #930869
    Barry
    Member

    Hi!

    You can escape characters (mark them as ones you don’t want PHP to convert) using the backslash character:

    \K\l. H:i

    Should produce something like:

    Kl. 15:00

    Does that help?

    #938192
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Problem with presentation of Event time’ is closed to new replies.