diff --git a/jcshow_collect.py b/jcshow_collect.py index b70db6b..a9d501f 100644 --- a/jcshow_collect.py +++ b/jcshow_collect.py @@ -39,7 +39,7 @@ class JcShow: tga_data['amount'] = data['nums'] tga_data['gameid'] = self.gameid tga_data['account_id'] = data['account_id'] - tga_data['#time'] = self.time + tga_data['#time'] = datetime.datetime.strptime(self.time, "%Y-%m-%d") tga_data['channelid'] = self.channelid tga_data['show_time'] = data['show_time'] self.tga.put_event_data(tga_data, f'rep_{self.event_type}')