revert time creation back to numeric timezone

This commit is contained in:
Jason Moiron
2013-12-03 20:00:31 -05:00
parent c2c3862c2c
commit 06331b20f5
+1 -1
View File
@@ -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)