This commit is contained in:
2024-05-05 15:25:22 +02:00
parent 72b5f4fc7a
commit 9c688fef18
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package vex
import (
"context"
"log"
"net/http"
"time"
@@ -83,7 +84,7 @@ func (r *Reader) ReadFeed(url string, etag string, lastModified *time.Time) (*Go
}
if lastModified := resp.Header.Get("Last-Modified"); lastModified != "" {
parsed, err := time.ParseInLocation(time.RFC1123, lastModified, time.UTC)
parsed, err := time.ParseInLocation(time.RFC1123, lastModified, gmt)
if err == nil {
feed.LastModified = parsed
}