Uh oh!
There was an error while loading. Please reload this page.
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.
There was an error while loading. Please reload this page.
Example, trying to parse
Fri, 28 Feb 2020 19:04:06 GMTwith a spanish locale will fail, since "Fri" or "Feb" is not spanish.This is because this parser uses
strptimewhich 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.