cloudflare / cloudflare/workerd

python: zoneinfo is pretty much broken

Open
#1,972 2 comments 0 reactions 0 assignees View on GitHub
python
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

https://docs.python.org/3/library/zoneinfo.html

`zoneinfo.available_timezones()[¶](https://docs.python.org/3/library/zoneinfo.html#zoneinfo.available_timezones)` return an empty and any access results something like

```
File "/lib/python312.zip/zoneinfo/_common.py", line 24, in load_tzdata
raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.