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]