镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add documentation for pendulum.timezones() - #988

Open
jayasree-007 wants to merge 1 commit into
python-pendulum:masterfrom
jayasree-007:docs-timezones-function
Open

jayasree-007 wants to merge 1 commit into
python-pendulum:masterfrom
jayasree-007:docs-timezones-function

Conversation

@jayasree-007

@jayasree-007 jayasree-007 commented Jul 27, 2026 •

Copy link
Copy Markdown

Summary:

This PR adds documentation for pendulum.timezones() to the timezone documentation.

The function was not previously documented, making it difficult to discover through the official documentation.

Changes

  • Added a new "Listing available time zones" section to docs/docs/timezones.md
  • Included a simple example demonstrating pendulum.timezones()
  • Documented that the function returns a set[str] of available IANA time zone names

Fixes #877

@Secrus Secrus added the docs label Sep 19, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pendulum.timezones in release notes do not reflect the code and not otherwise documented

2 participants