about summary refs log tree commit diff stats
path: root/worker
diff options
context:
space:
mode:
Diffstat (limited to 'worker')
-rw-r--r--worker/lib/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/lib/parse.go b/worker/lib/parse.go
index bbea49d..ded7a83 100644
--- a/worker/lib/parse.go
+++ b/worker/lib/parse.go
@@ -178,7 +178,7 @@ func parseDate(h *mail.Header) (time.Time, error) {
 			return t, nil
 		}
 	}
-	return time.Time{}, fmt.Errorf("unrecognized date format: %s", t)
+	return time.Time{}, fmt.Errorf("unrecognized date format: %s", text)
 }
 
 func parseAddressList(h *mail.Header, key string) ([]*models.Address, error) {