This commit is contained in:
2024-05-05 15:30:33 +02:00
parent 9f753d118e
commit 0ad421b10c
+1 -2
View File
@@ -2,7 +2,6 @@ package vex
import (
"context"
"log"
"net/http"
"time"
@@ -84,7 +83,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, gmt)
parsed, err := time.ParseInLocation(time.RFC1123, lastModified, time.UTC)
if err == nil {
feed.LastModified = parsed
}