Skip to content

Small issue or unclear part in TimeSpan example #16512

Open

Description

In the second code snippet of the TimeSpan structure section, the example output says the store is closed at 21:00 when the store closing time is 21:30 and there is no indication of the local timezone being different from the store timezone.

Suggested solution is one or both of the following:

  • Print local timezone or offset in output to indicate whether it is different from the timezone or offset of the store
  • If the timezone is supposed to be the same in the example, change the "Store is open at 21:00:00: False" line to True because the store closing time is defined as 21:30

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

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

Metadata

Assignees

No one assigned

    Labels

    Pri2doc-bugProblem with the content; needs to be fixed [org][type][category]dotnet/svcokr-healthokr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.standard-library/subsvc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions