Formatting for Low Variable Date field
I've set up some Low Variables to store dates and am having trouble figuring out how to format these in my template. Have tried several options, including the ones below, but keep striking out. Am trying to get something like January 1, 2013 as the output.
{exp:low_variables:parse var="lv__sub_date" format="%F %d, %Y"}
{exp:low_variables:pair}{lv_sub_date format="%F %d, %Y"}{/exp:low_variables:pair}
I'm using the Date Type for LV field type. The date is stored in YYYY-MM-DD format, same as the default output for LV.
Thank you.
Replies
Low 8 Oct 2012 16:49
Hi,
Low Variables doesn't come with a native date field, so what other add-on are you using? Have you tried asking that developer for help?
PDM 8 Oct 2012 17:00
Just the Date Type for Low Variables field type by Bjorn Borresen (http://devot-ee.com/add-ons/date-type... I'd start here, but will check with Bjorn too.
I'm using Low Variables to set a bunch of conference deadlines that are shown on multiple pages (and that sometimes get extended so would be nice to give client access to edit). Will be a really handy option if I can get it working!
Thanks.
Low 8 Oct 2012 17:03
Yeah, better ask Bjorn. His Date variable type is an add-on for my add-on, so he'd be the first to ask.