Template variable substitution error

Worad

Member²
Hi!

This template code

Code:
[$TEXT CREATED=$DATE $TIME]
/**
	Purpose : [Purpose]
	Author  : [First name] [Last name], [e-mail]
	Created : [Created=$CREATED]
**/
does not work properly. The result is:

Code:
/**
	Purpose : purpose
	Author  : fname lname, email
	Created : 38:43
**/
The variable [Created] equal to 'dd.mm.yyyy HH' in the dialog for this template and equal to 'MM:SS' in the code.

Do anybody know how to workarround this problem (I tryed many variants, but nothing works properly.)?
 
The $TIME variable seems to cause problems here. We'll fix it. The only "workaround" is to omit the time and just use the date.
 
Thank you Marco Kalter!
I know about this "workaround":
The $TIME variable seems to cause problems here. ... The only "workaround" is to omit the time and just use the date.
But I don't mention to it because when I tryed to solve this problem I omit $TIME variable and the code works properly. But in this case the creation time is not known that does not meet the requirements.
Separating [Created] into 2 fields [Creation date] and [Creation time] can solve this problem but the template dialog becomes more complicated.
 
Back
Top