From 8e1e8ca8bbb0cb1e801747933739e29c5b58c132 Mon Sep 17 00:00:00 2001 From: Paul van Brouwershaven Date: Thu, 30 Jun 2022 18:13:37 +0200 Subject: [PATCH] Simplify --- sign/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sign/helpers.go b/sign/helpers.go index 48edb89..cd756ca 100644 --- a/sign/helpers.go +++ b/sign/helpers.go @@ -48,7 +48,7 @@ func pdfDateTime(date time.Time) string { _, original_offset := date.Zone() offset := original_offset if offset < 0 { - offset = (offset - offset) - offset + offset = -offset } offset_duration := time.Duration(offset) * time.Second