fix time zone issue
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ func geminiFeed(data *core.FullData, remote string, title string) error {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
name := strings.TrimLeft(line.Name[:10], " -—")
|
name := strings.TrimLeft(line.Name[:10], " -—")
|
||||||
date, err := time.Parse("2006-01-02", name)
|
date, err := time.ParseInLocation("2006-01-02", name, time.Local)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user