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 options to use UTC timestamps #46

Merged
merged 6 commits into from
Dec 14, 2021
Merged

Add options to use UTC timestamps #46

merged 6 commits into from
Dec 14, 2021

Commits on Dec 14, 2021

  1. Add options to use UTC timestamps

    This sidesteps issues users are having when using local times in
    conditions where the `time` crate cannot safely get the local time.
    
    Thanks to @uggla and @rye.
    
    #44
    #43
    borntyping committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    e2e5d14 View commit details
    Browse the repository at this point in the history
  2. Use an enum to control timestamp display

    This will be a little easier to maintain than a potentially increasing
    number of booleans; and avoids silly combinations like
    `timestamps=false` at the same time as `timestamps_utc=true`.
    borntyping committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    bc4d25a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b5ecc2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9e3aa46 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    77fc97f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6c5cdb8 View commit details
    Browse the repository at this point in the history