8000 [ServiceBus] Replace isodate for iso8601 (datetime/timedelta) strings · Issue #12704 · Azure/azure-sdk-for-python · GitHub
[go: up one dir, main page]

Skip to content
[ServiceBus] Replace isodate for iso8601 (datetime/timedelta) strings #12704
@YijunXieMS

Description

@YijunXieMS

ServiceBus management client uses isodate to serialize and deserialize iso8601 datetime/duration string. isodate is also used in msrest.

msrest may replace isodate with aniso8601 to parse iso8601 strings some day because isodate could be desupported. But aniso8601 isn't bidirectional. It doesn't serialize a datetime or timedelta to iso8601 string. So msrest will write its own code to serialize datetime/timedelta. Refer to this msrest issue.

msrest exposes type isodate.duration to users when an iso8601 duration string has year or month. ServiceBus doesn't have year or month in the duration string. So ServiceBus doesn't expose isodate.duration to users. This makes SB easy to replace isodate with any new solutions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.MQThis issue is part of a "milestone of quality" initiative.MessagingMessaging crewService Bus

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0