environment: avoid setting UTC on time object

This commit is contained in:
c9s 2022-06-08 14:36:26 +08:00
parent cf5be950e1
commit 09912b3fc3
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -106,7 +106,7 @@ func NewEnvironment() *Environment {
// default trade scan time
syncStartTime: time.Now().AddDate(-1, 0, 0), // defaults to sync from 1 year ago
sessions: make(map[string]*ExchangeSession),
startTime: time.Now().UTC(),
startTime: time.Now(),
syncStatus: SyncNotStarted,
PersistenceServiceFacade: &service.PersistenceServiceFacade{