Skip to content

Commit

Permalink
changed time format to show ms, not standard ISO that only has 10ms r…
Browse files Browse the repository at this point in the history
…esolution
  • Loading branch information
Tobi Delbruck authored and Tobi Delbruck committed Jun 10, 2024
1 parent 827a3de commit d1c6e5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/net/sf/jaer/eventprocessing/filter/Info.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

import com.jogamp.opengl.util.awt.TextRenderer;
import com.jogamp.opengl.util.gl2.GLUT;
import eu.seebetter.ini.chips.davis.DavisBaseCamera;
import java.text.Format;
import java.time.Instant;
import java.time.ZoneId;
import java.time.ZonedDateTime;
Expand Down Expand Up @@ -65,7 +65,8 @@ public class Info extends EventFilter2D implements FrameAnnotater, PropertyChang

private AEFileInputStreamInterface aeFileInputStream = null; // current recorded file input stream
private DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ISO_DATE_TIME;
private DateTimeFormatter timeFormat = DateTimeFormatter.ISO_TIME;
// private DateTimeFormatter timeFormat = DateTimeFormatter.ISO_TIME;
private DateTimeFormatter timeFormat = DateTimeFormatter.ofPattern("HH:mm:ss.SSS"); // tobi changed to show ms, not standard 10ms
private boolean analogClock = getPrefs().getBoolean("Info.analogClock", true);
private boolean digitalClock = getPrefs().getBoolean("Info.digitalClock", true);
private float analogDigitalClockScale = getFloat("analogDigitalClockScale", 1);
Expand Down

0 comments on commit d1c6e5c

Please sign in to comment.