Closed (fixed)
Project:
Token
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
16 Jan 2007 at 02:35 UTC
Updated:
24 Mar 2007 at 21:30 UTC
Jump to comment: Most recent file
Hi Jeff,
It would be handy to have the current date as a token. There will be two dates [site-current-date] and [user-current-date] allowing the a timezone adjustment. I've added them into my working copy. Will post patch if you agree this is a reasonable feature request.
Cheers,
--
Sammy Spets
Synerger
http://synerger.com
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | token.module.20070119.2317.patch.txt | 1.73 KB | sammys |
| #3 | token.module.20070119.2157.patch_0.txt | 1.13 KB | sammys |
| #2 | token.module.20070119.2157.patch.txt | 3.59 KB | sammys |
Comments
Comment #1
sammys commentedHere is a patch for it.
sammys
Comment #2
sammys commentedHere is a patch for it. You may want to use format_date instead. *shrug*
sammys
Comment #3
sammys commentedoops... you released a new version. patch for that _minus_ the 4.7 hook_help().
Comment #4
sammys commentedNew patch using format_date().
Comment #5
eaton commentedNow part of token.module. Thanks!
Comment #6
(not verified) commented