Add timezone for Telecom event date formatting
Output event times in local time rather than in UTC for compatibility with the rest of the timestamps in the bug report Test: manual Change-Id: I2d458f09aec635a43e3d0565e8f8da803124f368
This commit is contained in:
@@ -36,6 +36,7 @@ import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.TimeZone;
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@@ -268,6 +269,7 @@ public class EventManager {
|
||||
|
||||
public EventManager(@NonNull SessionManager.ISessionIdQueryHandler l) {
|
||||
mSessionIdHandler = l;
|
||||
sDateFormat.setTimeZone(TimeZone.getDefault());
|
||||
}
|
||||
|
||||
public void event(Loggable recordEntry, String event, Object data) {
|
||||
|
||||
Reference in New Issue
Block a user