Hi,
For a numeric comparison in a rule, I need to specify the node creation date in datestamp format.
Do you have any idea about how to do it ?
Ben

CommentFileSizeAuthor
#3 751668-token-date-timestamp-D6.patch2.26 KBdave reid

Comments

bneel’s picture

Title: Node created time in datestamp format » Node created time in timestamp format

I mean timestamp

dave reid’s picture

Title: Node created time in timestamp format » Node created time in datestamp format

Hmm, we currently don't have one available for the raw UNIX token. We can easily add it though.

dave reid’s picture

Title: Node created time in datestamp format » Node created time in timestamp format
Version: 6.x-1.12 » 6.x-1.x-dev
Category: support » feature
Status: Active » Needs review
StatusFileSize
new2.26 KB

Here's the patch to add a [raw] token that is also used for all other date-type tokens like [mod-raw], [site-date-raw], etc.

dave reid’s picture

Assigned: Unassigned » dave reid
dave reid’s picture

Status: Needs review » Fixed

Committed the patch in #3 to CVS!
http://drupal.org/cvs?commit=346218

Status: Fixed » Closed (fixed)

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