Thanks to visit codestin.com
Credit goes to github.com

Skip to content

_convert_timestamp assumes passed datetime to be UTC #73

Closed
@gooney47

Description

@gooney47

This function here

def _convert_timestamp(timestamp, precision=DEFAULT_WRITE_PRECISION):
assumes a passed datetime object to be in UTC format if no timezone is specified. I find this to be highly misleading. From the moment on I set the local timezone when I install an OS I want my system to accept local timezone data from me if I don't specify otherwise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions