Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

Parsing RFC date assumes current local is English #192

@lmazuel

Description

@lmazuel

Example, trying to parse Fri, 28 Feb 2020 19:04:06 GMT with a spanish locale will fail, since "Fri" or "Feb" is not spanish.
This is because this parser uses strptime which is local dependent. Python doesn't support configuration for locale.

The only reliable way would be to stop using "strptime", since other solution like this relies on a thread lock and I don't like that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions