{day} tag in Calendar
In calendar-tag, if I add format='' param to {day} tag, it reverts back to January 1st 1970 instead of outputting the day in the specified format. I have a feeling this is somehow "expected behavior", is that right? Is there another way for me to get a formatted date for the day the calendar-tag is currently showing? My calendar looks like this:
{exp:low_events:calendar
channel='events'
date='2013-04'
}
{weeks}
{days}
{if events_on_day}
{day}
{/if}
{/days}
{/weeks}
{/exp:low_events:calendar}
Replies
Low 5 Apr 2013 13:34
The {day} variable doesn't support the format="" parameter (it's an undocumented alias of {day_url}).
If you want a formatted date per day, use {day_number} {this_month format="%F %Y"} or something similar.