Skip to content

Commit 7197fae

Browse files
authored
Merge pull request libgit2#424 from josharian/sigdoc
signature: improve Signature.Offset docs
2 parents 7e9128b + cf23792 commit 7197fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

signature.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func newSignatureFromC(sig *C.git_signature) *Signature {
2626
}
2727
}
2828

29-
// the offset in mintes, which is what git wants
29+
// Offset returns the time zone offset of v.When in minutes, which is what git wants.
3030
func (v *Signature) Offset() int {
3131
_, offset := v.When.Zone()
3232
return offset / 60

0 commit comments

Comments
 (0)