From bb75101dc2f674c97e40d2b298fde20d2c1f64ca Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 13 Apr 2023 17:46:40 +0200 Subject: [PATCH] init_test.go: fixate timezone for tests. (#207) All tests that deals with dates expects the timezone to be in America/New_York. --- init_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init_test.go b/init_test.go index 13d9e6e4..744226d3 100644 --- a/init_test.go +++ b/init_test.go @@ -1,9 +1,13 @@ package eos import ( + "time" + "github.com/streamingfast/logging" ) func init() { logging.InstantiateLoggers() + + time.Local, _ = time.LoadLocation("America/New_York") }