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

Try to fix accidentally disabled default timestamps feature #42

Merged
merged 1 commit into from Dec 10, 2021

Conversation

Nekrolm
Copy link
Contributor

@Nekrolm Nekrolm commented Dec 10, 2021

Hi!
I have noticed that after commits, which replaces chrono dependency with time, logger does not print timestamps by default.

In this https://github.com/borntyping/rust-simple_logger/blob/main/src/lib.rs#L37 line, chrono feature-gate was used before dependency changes. Now it is timestamps.

So I just try to actualize default feature gates in project manifest.

Hi!
I have noticed that after commits, which replaces "chrono" dependency with "time", logger does not print timestamps by default.

In this https://github.com/borntyping/rust-simple_logger/blob/main/src/lib.rs#L37 line, "chrono" feature-gate was used before dependency changes. Now it is "timestamps". 
So I just try to actualize default feature gates in project manifest.
@Nekrolm
Copy link
Contributor Author

Nekrolm commented Dec 10, 2021

Possibly, colored feature requires similar changes to prevent same issue.

@Nekrolm Nekrolm changed the title Try to fix accidently disabled default timestamps feature Try to fix accidentally disabled default timestamps feature Dec 10, 2021
@borntyping borntyping merged commit ee33b65 into borntyping:main Dec 10, 2021
@borntyping
Copy link
Owner

Thanks for spotting this!

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.

"Could not determine the UTC offset on this system" and defaulting to UTC timestamps
2 participants