Quote:
Originally Posted by ownedbycats
Regarding format_date_field, something odd happened: I had a book today that matched all the criteria (added today, had the readinggoal tag, had a purchasesource and a non-0 cost).
However, when I used format_date_field() it didn't add the challenge tag. Changing it back to format_date() worked.
I tested with both $date and $$date.
|
format_date_field() takes the name of the field, not the value. So use format_date_field('date').
EDIT: until today's change is incorporated you must use format_date_field('timestamp') instead of 'date'.