Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We use the Flag module and want to send a message if a user flagged a node. We use Rules. In the private message (module PM) we want to send we want to integrate a token like
- [flagged-node:field_date]
- displayed as from ... until (start, end)
Works, but displays (nsert) the wrong date. The time is wrong because the timeshift (+2:00) depending on the timezone was not used/calc.
We use the newest 7.x version of each module.
Wr, paulap
Comments
Comment #1
Dave ReidAll the field tokens do is output the field value using field_view_field(). If you need to customize how the field is displayed, then please check out See http://drupal.org/node/1299662.
Comment #2
paulap CreditAttribution: paulap commentedThx. I will try it.
Comment #2.0
paulap CreditAttribution: paulap commentedInsert the display format of the date field (startdate, enddate)