From 1128c03aefdd9d929731c95bc9015ab19b9395dd Mon Sep 17 00:00:00 2001 From: Jennifer Conner <2819667+phiryll@users.noreply.github.com> Date: Tue, 14 Jul 2026 16:57:45 -0700 Subject: [PATCH] Fix incorrect function reference in timeCodec doc comment time.LoadLocation is a package-level function, not a method on time.Location. The package-level doc in lexy.go already refers to it correctly. Co-Authored-By: Claude Opus 4.8 (1M context) --- time.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time.go b/time.go index bb37d0a..068128f 100644 --- a/time.go +++ b/time.go @@ -9,7 +9,7 @@ import ( // Unlike most Codecs, timeCodec is lossy. It encodes the timezone's offset, but not its name. // It will therefore lose information about Daylight Saving Time. // Timezone names and DST behavior are defined outside Go's control (as they must be), -// and time.Time.Zone can return names that will fail with time.Location.LoadLocation. +// and time.Time.Zone can return names that will fail with time.LoadLocation. // The order of encoded instances is UTC time first, timezone offset second. // // A time.Time is encoded as the below values,