formatting cms_date_format? (solved)
Posted: Thu Sep 09, 2010 8:07 pm
There's a notice in Admin/Extensions/Tags/current_date stating that current_date is being deprecated and to use {$smarty.now|cms_date_format} but with no explanation of how to use that to display or format date portion. There's also no Tags help for the cms_date_format entry.
current_date accepts an optional php strftime parameter to custom format its output and, in my case, I'm able to output just the current year.
Anyone point out how to do the same using the {$smarty.now|cms_date_format} method?
Thanks in advance!
current_date accepts an optional php strftime parameter to custom format its output and, in my case, I'm able to output just the current year.
Anyone point out how to do the same using the {$smarty.now|cms_date_format} method?
Thanks in advance!