Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Sep 6, 2023
1 parent abfc781 commit 66fc6ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bugme.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import os
import json
import sys
from typing import Optional

from dateutil import parser
from pytz import utc
Expand All @@ -17,7 +18,7 @@
CREDENTIALS_FILE = os.path.expanduser("./creds.json")


def dateit(date: str | None, time_format: str = "%a %b %d %H:%M:%S %Z %Y") -> str:
def dateit(date: Optional[str], time_format: str = "%a %b %d %H:%M:%S %Z %Y") -> str:
"""
Return date in desired format
"""
Expand Down

0 comments on commit 66fc6ef

Please sign in to comment.