Skip to content

Commit

Permalink
going back to the original regardless of deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Bee-Mar committed Nov 15, 2024
1 parent 160ba9a commit dbdd4f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmpm/magicmirror/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def health(cls):
reset: int = github_api["rate"]["reset"]
remaining: int = github_api["rate"]["remaining"]

reset_time = datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S")
reset_time = datetime.datetime.utcfromtimestamp(reset).strftime("%Y-%m-%d %H:%M:%S")

if not remaining:
health["github"][
Expand Down

0 comments on commit dbdd4f9

Please sign in to comment.