Skip to content

creation_date check made with local time #83

Description

@aulemahal

Minor issue I guess, but the checker told me that my "The 'creation_date' attribute is in the future" for a file I had just created.

The issue is that the attribute is defined as an UTC time, but the check uses:


I think it should use:

import datetime as dt

dt.datetime.now(dt.UTC)

I know I am in "euro-cordex", but still ;). I can submit a PR!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions