diff options
author | Vincent Driessen <me@nvie.com> | 2016-04-19 14:27:25 +0200 |
---|---|---|
committer | Vincent Driessen <me@nvie.com> | 2016-04-19 21:52:06 +0200 |
commit | a2c8c7f86e6a61307311ea6036dac4f89b64b500 (patch) | |
tree | 2c01a7478e1d66b6d632bdbc83030a3779661657 /git/test/test_docs.py | |
parent | 504870e633eeb5fc1bd7c33b8dde0eb62a5b2d12 (diff) | |
download | gitpython-a2c8c7f86e6a61307311ea6036dac4f89b64b500.tar.gz |
Add support for getting "aware" datetime info
This adds 2 properties to commits. Their values are derived from the
existing data stored on them, but this makes them more conveniently
queryable:
- authored_datetime
- committed_datetime
These return "aware" datetimes, so they are effectively companions to
their raw timestamp equivalents, respectively `authored_date` and
`committed_date`.
These datetime instances are convenient structures since they show the
author-local commit date and their UTC offset.
Diffstat (limited to 'git/test/test_docs.py')
0 files changed, 0 insertions, 0 deletions