Skip to content

TypeError: can't subtract offset-naive and offset-aware datetimes #13

@avinashkranjan

Description

@avinashkranjan

Error:
Traceback (most recent call last):
File "/home/runner/work/avinashkranjan.github.io/avinashkranjan.github.io/fetch_contribs.py", line 99, in
pulls, n_pulls = creat_json(g, True)
File "/home/runner/work/avinashkranjan.github.io/avinashkranjan.github.io/fetch_contribs.py", line 86, in creat_json
my_contribs[repo_name]["last_mod"], (datetime.today() - abc.updated_at).days
TypeError: can't subtract offset-naive and offset-aware datetimes
Error: Process completed with exit code 1.

Screenshot 2024-02-20 at 3 48 16 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions