From eb026ae4ac13e6dda7b761945731eb0df658b1cb Mon Sep 17 00:00:00 2001 From: Dave Marquard Date: Tue, 22 Sep 2020 13:31:04 -0700 Subject: [PATCH] handle Pacific Daylight Time in addition to Pacific Standard Time --- reader/date/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reader/date/parser.go b/reader/date/parser.go index 3266fd4e..b8dde1ed 100644 --- a/reader/date/parser.go +++ b/reader/date/parser.go @@ -243,7 +243,7 @@ func parseLocalTimeDates(layout, ds string) (t time.Time, err error) { loc := time.UTC // Workaround for dates that don't use GMT. - if strings.HasSuffix(ds, "PST") { + if strings.HasSuffix(ds, "PST") || strings.HasSuffix(ds, "PDT") { loc, _ = time.LoadLocation("America/Los_Angeles") }