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.
I have a content type with a CCK field of date and time. When a node is created the CCK field is included in an email alert.
If a node is created with a date but not a time, the time on the node completion page is '(All day)'. If I use the email token of H:i, its works fine if the time is set in hours and minutes, but if its left blank then instead of '(All day)' I get '00:00'.
How can I get round this? Is the only way to separate rules with conditions of weather the time field has a value? Or, is their a different token I can use?
Thanks
Comments
Comment #1
TR CreditAttribution: TR commented