Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Date formatting in emails
#19
It seems I need to use single quotes.


Code:
$(general : (__WorkflowFunction__) concat ( format_date($date_start,'d. F Y') ,' um ', substring($time_start,0,5),' Uhr.') )


This gives the expected result if I put in an empty space after the function. Probably this needs to be done for parsing the function correctly.

So this:

Code:
<p>Event on <strong>$(general : (__WorkflowFunction__) concat ( format_date($date_start,'d. F Y') ,' um ', substring($time_start,0,5),' Uhr.') ) </strong></p>


results in:

Quote:Event on 19. Januar 2019 um 08:16 Uhr


But the Wysiwyg editor strips the space before the closing strong-tag. So after saving it once the source code of the email is:

Code:
<p>Event on <strong>$(general : (__WorkflowFunction__) concat ( format_date($date_start,'d. F Y') ,' um ', substring($time_start,0,5),' Uhr.') )</strong></p>


Which results in:

Quote:Event on 19. Januar 2019 um 08:16 Uhr/strong>

and the rest of the email is printed bold because there is no closing tag.

How can I make the functions persistent in the wysiwyg editor? Or is there a way to completely disable it? It is quite useless if it behaves like this.
Reply


Messages In This Thread
Date formatting in emails - partnerwerk - 09-14-2017, 02:00 PM
RE: Date formatting in emails - joebordes - 09-14-2017, 05:45 PM
RE: Date formatting in emails - joebordes - 09-14-2017, 05:48 PM
RE: Date formatting in emails - joebordes - 08-16-2018, 10:59 AM
RE: Date formatting in emails - joebordes - 08-16-2018, 05:07 PM
RE: Date formatting in emails - joebordes - 08-16-2018, 11:37 PM
RE: Date formatting in emails - joebordes - 08-17-2018, 09:40 AM
RE: Date formatting in emails - joebordes - 08-17-2018, 01:54 PM
RE: Date formatting in emails - joebordes - 08-22-2018, 06:48 PM
RE: Date formatting in emails - joebordes - 12-09-2018, 10:41 AM
RE: Date formatting in emails - partnerwerk - 12-15-2018, 10:12 AM
RE: Date formatting in emails - joebordes - 05-07-2019, 07:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)