diff --git a/bfs-result.json b/bfs-result.json index a9cb4f6..64166e5 100644 --- a/bfs-result.json +++ b/bfs-result.json @@ -1,6 +1,5 @@ { "Tue, 23 Nov 2021 15:17:06 +0000": { - "sha": "87ceb100732c3be66d5dcae16382d67e3208ec92", "total": "238", "pass": "90", "fail": "148" diff --git a/gnu-result.json b/gnu-result.json index cf63253..a1cc0eb 100644 --- a/gnu-result.json +++ b/gnu-result.json @@ -1,6 +1,5 @@ { "Tue, 23 Nov 2021 15:17:06 +0000": { - "sha": "87ceb100732c3be66d5dcae16382d67e3208ec92", "total": "16", "pass": " 3", "skip": " 1", diff --git a/graph.py b/graph.py index 3f1b751..a553138 100644 --- a/graph.py +++ b/graph.py @@ -15,7 +15,8 @@ df.columns.names = ["date"] as_list = df.index.tolist() for i in as_list: idx = as_list.index(i) - as_list[idx] = str(i).split(" ")[0] + t = parsedate(i) + as_list[idx] = datetime.fromtimestamp(time.mktime(t)) df.index = as_list