Skip to content

Incorrect time types #21

@CourchesneA

Description

@CourchesneA

In the request for trips, I get duration information (ex in the drivingDuration field) in a datetime.time format, which should be reserved for a time of the day. I would assume this would throw errors for duration more than 24 hours but I think the API happens to return only duration < 24.

It is really annoying since I can't process the data directly since no operation are supported between datetime.time objects. It would be great if duration could be parsed into a datetime.timedelta instead,.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions