Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 37285cb

Browse filesBrowse files
committed
Add a docstring to satisfy pylint
1 parent aeba5e6 commit 37285cb
Copy full SHA for 37285cb

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎ci/download_gha_artifacts.py

Copy file name to clipboardExpand all lines: ci/download_gha_artifacts.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ def unpack_zipfile(filename):
2828
z.extract(name)
2929

3030
def utc2local(timestring):
31+
"""Convert a UTC time into local time in a more readable form.
32+
33+
For example: '20201208T122900Z' to '2020-12-08 07:29:00'.
34+
35+
"""
3136
dt = datetime.datetime
3237
utc = dt.fromisoformat(timestring.rstrip("Z"))
3338
epoch = time.mktime(utc.timetuple())

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.