Unverified Commit d37701e7 authored by Kunal Shroff's avatar Kunal Shroff Committed by GitHub
Browse files

Merge pull request #2374 from ControlSystemStudio/CSSTUDIO-1743

Fix wrong time stamp in alarm logger
parents 10b165b8 12831e88
Pipeline #119980 passed with stage
in 27 minutes and 27 seconds
......@@ -158,7 +158,7 @@ public class AlarmLogMessage {
public static class AlarmInstantDeserializer extends JsonDeserializer<Instant> {
private static DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS").withZone(ZoneId.systemDefault());
private static DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS").withZone(ZoneId.of("UTC"));
public AlarmInstantDeserializer() {
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment