Problem/Motivation

I cannot use a custom date format in tokens such as [node:field_dates:next_call:formatted:custom:m/d/Y]. I was expecting to be able to use the standard [node:field_dates:next_call:date:custom:m/d/Y] but saw the formatted bit in the code and started using it.

Proposed resolution

Support either the standard [node:field_name:column:date:*] chain or at least support [node:field_name:column:formatted:custom:*]

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mrconnerton created an issue. See original summary.

mrconnerton’s picture

Not sure if merge request !116 is the ideal solution or just a solution but figured I would get it started so I had something to use for patch.

apmsooner’s picture

FYI, I'm not ignoring this and I appreciate the patch. I'm gonna hold off on this for the upcoming release and revisit next release as the tokens.inc needs to generally be refactored a bit anyway. Again thank you.

apmsooner’s picture

Status: Active » Needs review
Parent issue: » #3542508: Migrate .tokens.inc to OOP hooks.
apmsooner’s picture

Status: Needs review » Fixed
apmsooner’s picture

Status: Fixed » Closed (fixed)