Skip to content

Conversation

@pmrowla
Copy link
Contributor

@pmrowla pmrowla commented Oct 17, 2023

libgit2 returns tz offset in minutes from UTC but git internals (and git-python + dulwich) use seconds from UTC. Our scmrepo git objects should use seconds for consistency

see: https://github.com/iterative/gto/pull/425/files#r1350738275

@pmrowla pmrowla self-assigned this Oct 17, 2023
@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Files Coverage Δ
src/scmrepo/git/backend/pygit2/__init__.py 76.33% <ø> (ø)
src/scmrepo/git/objects.py 73.18% <61.53%> (-1.22%) ⬇️

📢 Thoughts on this report? Let us know!.

@pmrowla pmrowla merged commit a2c78a1 into treeverse:main Oct 17, 2023
@pmrowla pmrowla deleted the pygit2-tz-offset branch October 17, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants