I had an issue where I needed tokens that were built from custom date formats I'd saved using admin/settings/date-time/formats/custom. I couldn't build up the format using the component tokens as I needed it for fields (not the node as a whole). This patch will generate tokens for any custom date formats you have configured.
I'm posting it up here in case its of any use to anyone. I'm not sure if this is within submission guidelines. I'll post the patch in a moment once I have an nid for the issue...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1130844-date-custom-date-formats-tokens.patch | 1.78 KB | cameron tod |
Comments
Comment #1
cameron tod commentedAttaching patch.
Comment #2
marcus_clements commented+1
Comment #3
larsdesigns commented+ 1
Comment #4
colanSee #593840: Include tokens for custom date formats for date fields.