use UTC time for position

This commit is contained in:
c9s 2022-05-20 01:21:26 +08:00
parent 9b10f87b97
commit 5c92bc5d66
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{
{
p.Symbol,
p.ChangedAt.Format(time.RFC1123),
p.ChangedAt.UTC().Format(time.RFC1123),
p.AverageCost.String(),
p.Base.String(),
p.Quote.String(),