mirror of
https://codeberg.org/librarian/feeds
synced 2024-12-06 19:16:24 +01:00
revert time creation back to numeric timezone
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ var rssOutput = `<?xml version="1.0" encoding="UTF-8"?><rss version="2.0">
|
||||
</rss>`
|
||||
|
||||
func TestFeed(t *testing.T) {
|
||||
now, _ := time.Parse("2006-01-02T15:04:05 MST", "2013-01-16T21:52:35 EST")
|
||||
now, _ := time.Parse(time.RFC3339, "2013-01-16T21:52:35-05:00")
|
||||
tz := time.FixedZone("EST", -5*60*60)
|
||||
now = now.In(tz)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user