Skip to content

Datetime is not timezone aware #230

@tichkadzinga

Description

@tichkadzinga

Parsing datetime discards 1) The milliseconds 2) Time Zone information. API documentation suggests only UTC is used. Comparison between timestamps referencing different time zones is error prone.

https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/types/simpletypes.html#dateTime

I am proposing we add milliseconds and time zone information to the datetime object. This change will make timezone-naive applications fail with TypeError: can't compare offset-naive and offset-aware datetimes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions