aboutsummaryrefslogtreecommitdiff
path: root/git-arr
diff options
context:
space:
mode:
authorAlberto Bertogli <albertito@blitiri.com.ar>2014-10-05 23:15:54 +0200
committerAlberto Bertogli <albertito@blitiri.com.ar>2014-10-05 23:15:54 +0200
commit7898b2becdc9ad35b0d853bc5d46be24a05a6a48 (patch)
treeccdb00f7b97ed7b775a14f0be9536652b6f1bcac /git-arr
parent47d500715a85879f6e3c6a0c27d2fa849f97efdc (diff)
downloadgit-arr-fork-7898b2becdc9ad35b0d853bc5d46be24a05a6a48.zip
git.py: Parse timestamps from UTC, not from local time
The current parsing of dates from git incorrectly uses datetime.fromtimestamp(), which returns the *local* date and time corresponding to the given timestamp. Instead, it should be using datetime.utcfromtimestamp() which returns the UTC date and time, as the rest of the code expects. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
Diffstat (limited to 'git-arr')
0 files changed, 0 insertions, 0 deletions