IntelliJ is displaying the wrong commit time
Hi.
I am running Intellij 2019.2.4 Community Edition on Windows 10 64 bits and it's displaying the wrong commit time.
> git log
commit c0c1a0f662da0f83e4fc74aba936393c8833d976 (HEAD -> master, origin/master, origin/HEAD)
Merge: 5f323e7c9c 738a752df6
Author: Rodrigo de Bona Sartor
Date: Wed Nov 13 10:50:49 2019 -0300
It's 10:50 on my localtime (BRT/UTC-3) and it's displaying 11:50. I think it has something to do with daylight saving time, because it was cancelled and we had some troubles with outdated JVM on some customers.
请先登录再写评论。
This indeed looks like some time-zone resolving issue.
What JRE do you use to run IDE? Is it the bundled JetBrains Runtime?
Just updated to 2019.3 and it's still wrong
IntelliJ IDEA 2019.3 (Community Edition)
Build #IC-193.5233.102, built on November 27, 2019
Runtime version: 11.0.4+10-b520.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 725M
Cores: 8
Registry: debugger.watches.in.variables=false
Non-Bundled Plugins: VisualVMLauncher, com.bruce.intellijplugin.generatesetter, de.netnexus.camelcaseplugin
Is the Log tab the only place in the IDE that has the wrong dates?
What about e.g. Annotations, other places where the date is used?
If you try to get the current timestamp via Java, does it return the correct value?
No. Annotations and Local history are also wrong.
Tried kotlin IDE scripting console and it's also displaying the wrong time, with the wrong timezone:
It should be 16:03:26 BRT, not BRST
If i run this with "OpenJDK Runtime Environment (build 1.8.0_232-b09)" It shows the right time:

public class Main {
public static void main(String[] args) {
System.out.println(new java.util.Date());
}
}