go-alpha-vantage icon indicating copy to clipboard operation
go-alpha-vantage copied to clipboard

parseDate must specify right timezone

Open svera opened this issue 5 years ago • 1 comments

Alpha Vantage times are in US/Eastern timezone. time.Parse() consider times to be in UTC, so time.ParseInLocation() must be used instead.

Check https://golang.org/pkg/time/#ParseInLocation for more information.

svera avatar Sep 03 '18 12:09 svera