How to change the default time format in editor files?

When we create new files in Webstorm editor, there comes a comment such as following:

 
/**
* Created by siva on 6/17/15.
*/
  
I just want to change the format of the date there, preferably by changing it in a single location which effects all future pages of all kinds.
3 comments
Comment actions Permalink

This comment is generated by file template - seeSettings/Editor/File and code templates/javaScript File, for example. WebStorm uses ${DATE} macro to generate current date. The current date is returned in the default system format. To customize the output, you can try using separate variables for different date fields. For example, ${YEAR}/${MONTH}/${DAY} instead of ${DATE}

See also https://youtrack.jetbrains.com/issue/IDEABKL-440 and related tickets

0
Comment actions Permalink

Thanks, that works.

But what may I do if I want the date something like 17-June-2015 instead of 17/6/2015?

0
Comment actions Permalink

there is no way you can do this:(


0

Please sign in to leave a comment.