That question is not about the code produced by the IDE, it is about IDE itself.
Phpstorm/Intellij always shows dates in "Month/DayOfMonth/Year Hour:Minute" format like 4/16/14 11:40 AM
You can check version control view, local history view or changes view. Is it possible to change the Phpstorm/Intellij date format via GUI or some setting file.
For Live Templates, you can specify the desired format as a date() function parameter (see http://www.jetbrains.com/webstorm/webhelp/edit-template-variables-dialog.html)
For file templates, I can suggest using separate variables for different date fields. For example, ${YEAR}/${MONTH}/${DAY} instead of ${DATE}
as for version controls, date format is not configurable and different for different VCs. There is no way to set the date format to be used everywhere in the IDE - please vote for IDEA-99114. In general, it depends on the system locale
see also comments in IDEABKL-6449
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With