unloggedio / intellij-java-plugin

IntelliJ plugin with java language support
https://unlogged.io
Apache License 2.0
12 stars 1 forks source link

Fix: recent session issue #21

Closed kartikeytewari-ul closed 3 months ago

kartikeytewari-ul commented 3 months ago

The pull request fixes an issue where recent session calculation for local mode was done incorrectly by the plugin when the session ran across separate timezones.

This happened generally when some session ran in a timezone ahead of UTC, like IST and the stopped. Then a new session was started in docker containers that ran in ETC/UTC zone that broke the session discovery calculation.

Smoke Test

https://drive.google.com/file/d/1qfFmvNoUBlfnqe6cRhNgl3yL97eBvMIj/view?usp=sharing