Closed (won't fix)
Project:
Date
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2009 at 00:10 UTC
Updated:
26 Oct 2018 at 02:45 UTC
Jump to comment: Most recent
Comments
Comment #1
agerson commentedahhh, perhaps this is expected behavior "The formatted date." I would love a token for the exact same value but without the html.
Comment #2
dwwA) When you're posting HTML into an issue, don't forget to wrap it with
<code>tags so that the HTML is visible. ;) Luckily, I'm a site admin here, so I could visit the edit tab for your issue and view the raw source, but for future reference, here's what was written:B) Signup module is just invoking token module to replace the tokens. If you want new tokens, that's a feature request against the module providing the tokens, not the one where they're being used. In your case, sounds like you're asking for a new token to be provided for date fields. Moving this to the right queue.
Cheers,
-Derek
Comment #3
agerson commentedSo this is the only token date tag with HTML. Is this intentional?
Comment #4
bomarmonk commentedHow can you make a raw date token???? This isn't good for dates that are inserted into titles using rules or auto-node-title.
Comment #5
bomarmonk commentedI used to be able to delete the html elements from the date theme, but now I can't even find where the html for the date token is stored so I can delete it. What file makes this html show up in a node title when using tokens? Beats me! Any help would be appreciated, hack or otherwise.
Comment #6
bomarmonk commentedHow about a patch along these lines? It looks like the folks at this other module have this figured out, but I'm not sure where similar changes would be made to the date module: http://drupal.org/node/538244
Comment #7
bomarmonk commentedA workaround for excluding HTML in titles that use dates with the rules module: http://drupal.org/node/619234
Comment #8
roderikPlease see #423502: Add plain format without any HTML for a patch which adds plaintext formatters.
I guess this is not enough yet, since the [field_date-view] token still gets the 'default' format, not the 'default_plain' format.
So someone who knows token stuff, please see if you can use this, to work with.
Comment #9
marcoscanosorry if I'm posting on the wrong issue, it's the only one I found with a similar problem.
I'm using core 7.8, date 7.x-2.x-dev, rules 7.x-2.0-rc2.
I have a rule configured to periodicaly send an email reminder of an event to the users who have flagged the event, and the email (not html formatted) contains the date field information (using the date token for that), so the result is the same indicated above "
<span class=".....>Once I can't use the workaroud indicated (no theming or html formatting in the email body), is there another way of solving this?
thanks
Comment #10
mstrelan commentedIf you're interested in this for Drupal 7 see #1806856-5: Manage Display Format Settings won't save when using the "plain" formatter.
Comment #11
damienmckennaUnfortunately the Drupal 6 version of the Date module is no longer supported. That said, we appreciate that you took time to work on this issue. Should this request still be relevant for Drupal 7 please feel free to reopen it. Thank you.