summaryrefslogtreecommitdiff
path: root/signature.go
diff options
context:
space:
mode:
authorlhchavez <[email protected]>2019-01-08 02:01:44 +0000
committerlhchavez <[email protected]>2019-01-08 02:01:44 +0000
commitb609c04b681655f474b13798f6c74658295fa3a4 (patch)
tree5373c4bc84d15ea28226103c11fd293dcdec7396 /signature.go
parentd7fd15b1e0fda55c7237609bbdc8caddff49d032 (diff)
parent2609f4c6f25a7da56e2e4960c250ea3dfb53e82b (diff)
Merge remote-tracking branch 'upstream/master' into mempack
Diffstat (limited to 'signature.go')
-rw-r--r--signature.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/signature.go b/signature.go
index 16964d2..220fe57 100644
--- a/signature.go
+++ b/signature.go
@@ -26,7 +26,7 @@ func newSignatureFromC(sig *C.git_signature) *Signature {
}
}
-// the offset in mintes, which is what git wants
+// Offset returns the time zone offset of v.When in minutes, which is what git wants.
func (v *Signature) Offset() int {
_, offset := v.When.Zone()
return offset / 60