From da10fee49e2be3c5be44750f56da7db64ff55365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 2 Jan 2019 23:13:50 +0100 Subject: [PATCH] Merge pull request #424 from josharian/sigdoc signature: improve Signature.Offset docs (cherry picked from commit 7197faee7995ed147c09649fb932dce31fab5a64) --- signature.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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