Skip to content

Document ZonedDateTime.format_iso(tz=...) in docstring #312

@injust

Description

@injust

The tz parameter is explained in https://whenever.readthedocs.io/en/latest/overview.html#formatting, but not in the docstring or https://whenever.readthedocs.io/en/latest/api.html#whenever.ZonedDateTime.format_iso.

IMO this is especially important because:

  • The auto value is not self-explanatory
  • Some parsers are not compatible with the IANA timezone identifier in square brackets

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions