From 9930de01ddcc30964557db5a519db9dfdc29f517 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sun, 10 Feb 2019 11:57:19 +0100 Subject: [PATCH] [git fast commit] 10. Feb 2019 - 11:57:19 --- Round.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Round.py b/Round.py index 8c6404d..4c444db 100644 --- a/Round.py +++ b/Round.py @@ -126,7 +126,7 @@ class Round: losers += "," + p.serialize() teams = "{}|{}".format(winners, losers) - startTimeStr = self.start.strftime("%b %d %H:%M:%S") + startTimeStr = self.start.strftime("%y %b %d %H:%M:%S") ret = "{}|{}|{}|{}|{}".format(teams, self.winner_side, \ self.map, self.duration.seconds, startTimeStr) @@ -145,6 +145,6 @@ class Round: if pStr == "": continue losers.update({PlayerInRound.deserialize(pStr):TS.new_rating()}) - startTime = datetime.strptime(startTimeStr, "%b %d %H:%M:%S") + startTime = datetime.strptime(startTimeStr, "%y %b %d %H:%M:%S") duration = timedelta(seconds=int(duration)) return Round(winners, losers, _map, duration, startTime, winner_side)