forked fromsigmavirus24/github3.py
- Notifications
You must be signed in to change notification settings - Fork0
Commitb273037
committed
Add dateutil to parse timestamps
GitHub is inconsistent in the timestamps it returns for the issue importAPI. strptime has a way of handling UTC offsets a format like -0600 butnot -06:00. There's no good way to handle that with the standardlibrary, so here we must add dateutil.1 parent232cff2 commitb273037
3 files changed
+7
-27
lines changedLines changed: 2 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
15 | 14 |
| |
16 |
| - | |
17 | 15 |
| |
18 | 16 |
| |
19 | 17 |
| |
| |||
145 | 143 |
| |
146 | 144 |
| |
147 | 145 |
| |
148 |
| - | |
149 |
| - | |
150 |
| - | |
| 146 | + | |
151 | 147 |
| |
152 | 148 |
| |
153 | 149 |
| |
|
Lines changed: 0 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 | 48 |
| |
69 | 49 |
| |
70 | 50 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 |
| |
39 | 43 |
| |
40 | 44 |
| |
|
0 commit comments
Comments
(0)