ref: fb9eb058f1c9b7cb26f33bbe679a85f530566641
dir: /object/signature/when.go/
package signature
import "time"
// When returns a time.Time with the signature's timezone offset.
func (signature Signature) When() time.Time {
loc := time.FixedZone("git", int(signature.OffsetMinutes)*60)
return time.Unix(signature.WhenUnix, 0).In(loc)
}