diff options
-rw-r--r-- | dialogs.py | 4 | ||||
-rw-r--r-- | terronesweeper.py | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -146,7 +146,7 @@ class ScoreDialog(_DialogWindow): scores.sort() for i in scores: - score, date = i.split() - liststore.append([score, time.ctime(float(date))]) + score, date = i.split(",") + liststore.append([score, date]) scrollwin.add_with_viewport(treeview) diff --git a/terronesweeper.py b/terronesweeper.py index 74d0625..0e00b08 100644 --- a/terronesweeper.py +++ b/terronesweeper.py @@ -415,7 +415,8 @@ class TerronesWeeper(activity.Activity): self.label.set_text(self.label.get_text()) # Save score: - self.score.append("%s %s" % (self.time, time.time())) + self.score.append("%s, %s" % (self.time, + time.strftime("%d/%m/%y - %H:%M"))) self.alerting = self._alert_user(_("CONGRATULATIONS"), _("You won")) |