intellij-idea

how to specify timestamp format for "git-annotating" file


In intellij IDEA, when you have GIT VCS, you can do: -> Git -> Annotate, which yields in-gui variant of git blame.

But for some reason the produced timestamps does not respect git settings for some reason (well at least what git blame produces is different), "right-clicking annotation, ->options-> show commit timestamp" does nothing, and I did not find possibility to specify format of this.

Motivation: The default format misses time, and uses US date formatting, which is "for its stupid famous order", sorry, I meant famous for its stupid order, and it always takes me 10x the time to figure out, what date is it.

Is there possibility to have there iso timestamp?


Solution

  • This will show your preferred time format (including time stamp if you want) in the Git Blame Annotations.

    Related Intellij Documentation : https://www.jetbrains.com/help/idea/date-formats-settings.html