Im trying to figure out how to use a space in node:changed:custom:Fj,Y,g:ia
it should be
node:changed:custom:F j, Y, g:ia
but once i throw it in my node.tpl it outputs it as
node:changed:custom:F j, Y g:ia
instead of
July 8,2012 4:09pm
My full code to get the php is
<?php print token_replace('[node:changed:custom:Fj,Y,g:ia]', array('node' => $node)); ?>

Comments

Dave Reid’s picture

Status: Active » Fixed

This is a duplicate of the core token bug #1035292: Dynamic tokens can't have spaces.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.