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

WC Post Types: Fix timezone offset when sessions happen after DST #1394

Merged
merged 2 commits into from
Oct 18, 2024

Commits on Oct 11, 2024

  1. WC Post Types: Fix timezone offset when sessions happen after DST

    This change updates how the session dates are converted when the site and client timezones are different. Rather than creating a fixed timezone offset on page load, this converts the times into the server timezone for the given date — this way, the offset is correctly applied if a future date is in a different timezone (DST starts or ends).
    
    Fixes #1385
    ryelle committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    04070eb View commit details
    Browse the repository at this point in the history
  2. Fix lint issues

    ryelle committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    7fa2c18 View commit details
    Browse the repository at this point in the history