调整写入tga的格式
This commit is contained in:
parent
a17299fce2
commit
6bfc9a796e
@ -43,7 +43,7 @@ class Mycollect2001(GetFromTga):
|
||||
tga_data['gameid'] = self.gameid
|
||||
tga_data['channelid'] = self.channelid
|
||||
tga_data['date'] = self.date
|
||||
tga_data['#time'] = f"{self.date} 00:00:00"
|
||||
tga_data['#time'] = datetime.datetime.strptime("%Y-%m-%d", self.date)
|
||||
if data:
|
||||
for line in data:
|
||||
if line:
|
||||
@ -64,7 +64,7 @@ class Mycollect2001(GetFromTga):
|
||||
tga_data['gameid'] = self.gameid
|
||||
tga_data['channelid'] = self.channelid
|
||||
tga_data['date'] = self.date
|
||||
tga_data['#time'] = f"{self.date} 00:00:00"
|
||||
tga_data['#time'] = datetime.datetime.strptime("%Y-%m-%d", self.date)
|
||||
if data:
|
||||
for line in data:
|
||||
if line:
|
||||
|
Loading…
x
Reference in New Issue
Block a user