Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Dave ReidThis is a duplicate of the core token bug #1035292: Dynamic tokens can't have spaces.