Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -z option to print micro timestamps in local timezone, fixes #832 #854

Merged
merged 1 commit into from
May 20, 2021

Conversation

nicktindall
Copy link
Contributor

No description provided.

@@ -136,6 +137,9 @@ protected void configureReader(final ChronicleReader chronicleReader, final Comm
if (commandLine.hasOption('s')) {
chronicleReader.suppressDisplayIndex();
}
if (commandLine.hasOption('z')) {
System.setProperty("mtlc.zoneId", ZoneId.systemDefault().toString());
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to leave this in ChronicleReaderMain not in ChroniclReader because its a global change

@nicktindall nicktindall force-pushed the 832_print_timestamps_in_local_tz branch from ec62a2f to e1011f1 Compare May 20, 2021 07:02
@nicktindall nicktindall changed the base branch from ea to develop May 20, 2021 07:03
@nicktindall nicktindall merged commit 06370ed into develop May 20, 2021
@nicktindall nicktindall deleted the 832_print_timestamps_in_local_tz branch May 26, 2021 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants