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 #1006

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

Fix for #990 #1006

wants to merge 2 commits into from

Commits on Jun 27, 2023

  1. Added tests for the 'localtime' module

    Need some working tests before attempting to fix python-babel#990.
    
    Refs python-babel#990
    mdklatt authored and akx committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    06e0fd9 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 authored and akx committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    deebeb2 View commit details
    Browse the repository at this point in the history