forked fromgitpython-developers/GitPython
- Notifications
You must be signed in to change notification settings - Fork0
Commitb48e4d3

Rick Copeland
Add support for time zone information in tags and commits.
This commit includes - an update to git.objects.utils:parse_actor_and_date to parse the timezone offset - updates to the git.objects.Commit and git.objects.Tag objects to support *_tz_offset attributes - updates to tests in test.git.test_commit and test.git.test_refs to check for appropriate *_tz_offset attributes1 parent82b8902 commitb48e4d3
File tree
4 files changed
+34
-15
lines changed- lib/git/objects
- test/git
4 files changed
+34
-15
lines changedLines changed: 20 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
27 |
| - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 |
| |
29 | 31 |
| |
30 |
| - | |
31 |
| - | |
| 32 | + | |
| 33 | + | |
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
| |||
51 | 53 |
| |
52 | 54 |
| |
53 | 55 |
| |
| 56 | + | |
| 57 | + | |
| 58 | + | |
54 | 59 |
| |
55 | 60 |
| |
56 | 61 |
| |
57 | 62 |
| |
58 | 63 |
| |
59 | 64 |
| |
60 | 65 |
| |
| 66 | + | |
| 67 | + | |
| 68 | + | |
61 | 69 |
| |
62 | 70 |
| |
63 | 71 |
| |
| |||
94 | 102 |
| |
95 | 103 |
| |
96 | 104 |
| |
| 105 | + | |
97 | 106 |
| |
98 | 107 |
| |
| 108 | + | |
99 | 109 |
| |
100 | 110 |
| |
101 | 111 |
| |
| |||
253 | 263 |
| |
254 | 264 |
| |
255 | 265 |
| |
256 |
| - | |
257 |
| - | |
| 266 | + | |
| 267 | + | |
258 | 268 |
| |
259 | 269 |
| |
260 | 270 |
| |
| |||
276 | 286 |
| |
277 | 287 |
| |
278 | 288 |
| |
279 |
| - | |
280 |
| - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
281 | 293 |
| |
282 | 294 |
| |
283 | 295 |
| |
|
Lines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 |
| |
44 | 48 |
| |
45 | 49 |
| |
| |||
58 | 62 |
| |
59 | 63 |
| |
60 | 64 |
| |
61 |
| - | |
| 65 | + | |
62 | 66 |
| |
63 | 67 |
| |
64 | 68 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
| 51 | + | |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
55 |
| - | |
| 54 | + | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| |||
46 | 47 |
| |
47 | 48 |
| |
48 | 49 |
| |
| 50 | + | |
| 51 | + | |
49 | 52 |
| |
50 | 53 |
| |
51 | 54 |
| |
|
0 commit comments
Comments
(0)