Formatting Data range

Home Forums Calendar Products Events Calendar PRO Formatting Data range

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1598680
    Marco
    Participant

    Managing Events lasting 2 or 3 days I’d like the Event header to display the Start Date and End Date in the shortest form when Start month and End month is the same. e.g.
    – The current format is (December 1 – December 3)
    – The desired format is (December 1 – 3)

    – No change in case of the Event data range is (November 30 – December 1)

    Thanks

    #1599856
    Cliff
    Member

    Hi, Marco. I found this snippet from someone else that looks like what you want (note that it only applies to All Day events):

    https://gist.github.com/jazbek/cd30fea9c9c46aeb134e

    Please reference https://theeventscalendar.com/knowledgebase/implementing-custom-code-snippets/ for how to implement custom code snippets.

    Please let me know how this goes for you.

    #1600411
    Marco
    Participant

    Hi Cliff,

    great hint, perfectly working.

    Thanks a lot
    Marco

    #1600424
    Cliff
    Member

    Glad that worked for you. Thanks for letting us know.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Formatting Data range’ is closed to new replies.