use UTC time for position

This commit is contained in:
c9s 2022-05-20 01:21:26 +08:00
parent 7478ca61a4
commit 6ab64a043f
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -79,7 +79,7 @@ func (p *Position) CsvRecords() [][]string {
return [][]string{ return [][]string{
{ {
p.Symbol, p.Symbol,
p.ChangedAt.Format(time.RFC1123), p.ChangedAt.UTC().Format(time.RFC1123),
p.AverageCost.String(), p.AverageCost.String(),
p.Base.String(), p.Base.String(),
p.Quote.String(), p.Quote.String(),