mirror of
https://github.com/miniflux/v2.git
synced 2024-09-27 21:02:41 +02:00
handle Pacific Daylight Time in addition to Pacific Standard Time
This commit is contained in:
parent
38d3b28445
commit
eb026ae4ac
@ -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")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user