Community
Participate
Working Groups
Currently code template variables offer variables ${date} and ${year}. However in an environment where file headers contain a date (of creation) the needs to follow a fixed pattern (e.g. YYYY-MM-DD) the date can only be composed by something like ${year}-${month}-${day}. So it would be helpful to have those additional variables. Alternatively to adding new variables I could imagine that the templates support evaluating simple Java code snippets like: "DateFormat.getDateInstance().format(new java.util.Date())" This would open up a lot of opportunities to extend templates.
*** This bug has been marked as a duplicate of bug 75981 ***