From ebe98e685af0e11ef00ed0117e00c3dfd0628882 Mon Sep 17 00:00:00 2001 From: Alex Savin Date: Wed, 9 Jul 2025 09:48:38 -0400 Subject: [PATCH] Remove debug logging from JSON unmarshalling in CustomTime types --- mysubaru.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/mysubaru.go b/mysubaru.go index 823bc06..4afd809 100644 --- a/mysubaru.go +++ b/mysubaru.go @@ -497,7 +497,6 @@ type CustomTime1 struct { func (ct *CustomTime1) UnmarshalJSON(b []byte) (err error) { // Use the correct layout string for the desired format const layout = "2006-01-02T15:04:05" - fmt.Printf("UnmarshalJSON called with: %s\n", string(b)) s := strings.Trim(string(b), "\\\"") // Remove surrounding quotes if string(b) == "null" { ct.Time = time.Time{} @@ -516,7 +515,6 @@ type CustomTime2 struct { func (ct *CustomTime2) UnmarshalJSON(b []byte) (err error) { // Use the correct layout string for the desired format const layout = "2006-01-02T15:04:05-0700" - fmt.Printf("UnmarshalJSON called with: %s\n", string(b)) s := strings.Trim(string(b), "\\\"") // Remove surrounding quotes if string(b) == "null" { ct.Time = time.Time{}