We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bf72b6 commit c8182eeCopy full SHA for c8182ee
pkg/src/pylinks/api/github.py
@@ -29,6 +29,7 @@ def __init__(self, token: Optional[str] = None, timezone: str | None = "UTC"):
29
self._token = token
30
self._headers = {"X-GitHub-Api-Version": "2022-11-28"}
31
if timezone:
32
+ # https://docs.github.com/en/rest/using-the-rest-api/timezones-and-the-rest-api?apiVersion=2022-11-28
33
self._headers["Time-Zone"] = timezone
34
if self._token:
35
self._headers["Authorization"] = f"Bearer {self._token}"
0 commit comments