Formatting Date/Time
Is it possible to access the IntelliJ Date/Time formatter that is used for formatting $/$ in file templates?
I want to make sure I format the Date/time from my plugin the same way people are used to.
Please sign in to leave a comment.
I believe the formatting is simply done with
At least that's what the output looks like.
Hi Sascha,
this was what I had implemented myself, but I figured IDEA might use some user-specific preferences or locale and if not now, then maybe in the future.
For now, I'll just keep my code like it is.
Thanks for your quick reply.