Closed (fixed)
Project:
Token Filter
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2009 at 10:27 UTC
Updated:
14 Dec 2009 at 00:40 UTC
I'm trying to use [token date yyyy] to create a four digit date reference in a block, with the token filter module applied to that input format.
Unfortunately, all I get out is '[yyyy]'. The filter seems to be working because [token global site-url] gets replaced correctly. Am I using the correct format, or is this not something Token Filter does? Any help would be much appreciated!
Comments
Comment #1
dropcube commentedThe correct token for the the current year (four digit) is [site-date-yyyy]. So, you should use [token global site-date-yyyy] instead of [token date yyyy]