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

Default to UTC #68

Closed
wants to merge 2 commits into from
Closed

Default to UTC #68

wants to merge 2 commits into from

Commits on Sep 2, 2022

  1. Use UTC as default timezone

    Use UTC as the default timezone instead of the server's timezone.
    Rename the filter to `client_tz` instead of `local_tz` to more
    accurately reflect it's purpose (once I add the UI for users to
    customize their timezone).
    smsearcy committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    804ab22 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Render graphs using "client" timezone

    Update `request.timezone` to be timezone object (so Pendulum doesn't
    need to convert string back to object when rendering).
    Wrap RRDtool graph calls in changes to the `TZ` environment variable so
    they render in the preferred timezone.
    Update graph views to pass timezone to the graph rendering functions.
    Fix bug in the fallback for loading timezone from cookie.
    smsearcy committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    df773dd View commit details
    Browse the repository at this point in the history