Skip to content

receive_time parses week day (wday) as one day off of what is expected by Python #137

@jwcooper

Description

@jwcooper

Server returns the week day as Sunday = 0. Python docs expect it to be Monday = 0.

Python docs:
https://docs.python.org/3.7/library/time.html#time.struct_time

Ruby docs (which is how the server returns it):
https://ruby-doc.org/core-3.0.2/Time.html#method-i-wday

Server should likely remain at Sunday = 0 as many people likely rely on it already.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions