• Resolved g45m4n

    (@g45m4n)


    Hi,

    i have trouble with the format attribute and the template tags. The following statement just won’t work. Whats wrong here?

    [my_calendar_upcoming template=”{dtstart format=”F j, Y, g:i a”} | {time} | {linking_title}”]

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Your quotes are nested in an invalid way. Change to

    [my_calendar_upcoming template=‘{dtstart format=”F j, Y, g:i a”} | {time} | {linking_title}’]

    Note that the outer quotes have been changed to single quotes.

    Thread Starter g45m4n

    (@g45m4n)

    That’s it. And to be precise: I have used the straight single quotes.

    [my_calendar_upcoming template='{dtstart format=”d.m.Y | H:i “} | {linking_title}’]

    Straight and curly quotes

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘datetime format’ is closed to new replies.