remove utc

This commit is contained in:
d1slike committed 2020-07-15 17:37:22 +03:00
1 parent 0429bed9e3
commit d9c32437c9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ func (c *config) CreateUpdateConfig(config domain.CreateUpdateConfigRequest) (*d
Config: config.Config,
Unsafe: config.Unsafe,
VersionId: state.GenerateId(),
VersionCreateAt: time.Now().UTC(),
VersionCreateAt: time.Now(),
}
if config.Id == "" {
upsertConfig.Config.Id = state.GenerateId()
+1 -1
View File
@@ -114,7 +114,7 @@ func (h *SocketEventHandler) handleConfigSchema(conn etp.Conn, data []byte) []by
Create: true,
Unsafe: true,
VersionId: state.GenerateId(),
VersionCreateAt: time.Now().UTC(),
VersionCreateAt: time.Now(),
}
command := cluster.PrepareUpsertConfigCommand(upsertConfig)