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

Fix for #990 (updated) #1035

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 12, 2023

  1. Added tests for the 'localtime' module

    Need some working tests before attempting to fix python-babel#990.
    
    Refs python-babel#990
    mdklatt committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    4b68157 View commit details
    Browse the repository at this point in the history
  2. Fixed localtime._unix._get_localzone() (python-babel#990)

    In certain OS installations, the target of /etc/localtime contains
    double slashes. This is a valid path, but not a valid zoneinfo key.
    This fix replaces `os.readlink` with `os.path.realpath`, which is
    guaranteed to return a normalized path.
    
    Fixes python-babel#990
    mdklatt committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    fea5039 View commit details
    Browse the repository at this point in the history