types: use UTC time for order tsv

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

View File

@ -233,7 +233,7 @@ func (o Order) CsvHeader() []string {
func (o Order) CsvRecords() [][]string { func (o Order) CsvRecords() [][]string {
return [][]string{ return [][]string{
{ {
o.UpdateTime.Time().Format(time.RFC1123), o.UpdateTime.Time().UTC().Format(time.RFC1123),
strconv.FormatUint(o.OrderID, 10), strconv.FormatUint(o.OrderID, 10),
o.Symbol, o.Symbol,
string(o.Side), string(o.Side),