From 08906b0f5b66611b94c02f680dd8e74f226f17a5 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Sat, 8 Jan 2011 21:45:51 +0200 Subject: [PATCH] Padded fit creation date in shipbrowser fit item as req. in ticket #369 --- gui/shipBrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 2d959eb50..e0c2d9230 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -1680,7 +1680,7 @@ class FitItem(wx.Window): mdc.SetFont(self.fontNormal) fitDate = time.localtime(self.timestamp) - shipName = "%s/%s %s:%s" % (fitDate[1], fitDate[2], fitDate[3], fitDate[4]) + shipName = "%02d/%02d %02d:%02d" % (fitDate[1], fitDate[2], fitDate[3], fitDate[4]) mdc.DrawText("%s" % shipName, textStart, ypos) mdc.SetFont(self.fontSmall)