Skip to content

Switch to timezone aware datetimes #169

@pnuu

Description

@pnuu

Currently the repository has 31 uses of dt.datetime.utcnow() which is deprecated. In other Pytroll packages we've decided to use timezone aware datetimes, so we should do that also in Pytroll Collectors.

This might not be as simple as switching to dt.datetime.now(dt.timezone.utc) as previous and following stages of messaging might not be able to handle them.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions