[hamster-applet] bug 597578 fixed substitution of string in stats when year is selected



commit a9d8ef2d6f6bb0a3723b8ca1c00e2003c46a8050
Author: Pieter Frenssen <pieter_frenssen yahoo com>
Date:   Thu Oct 29 21:29:31 2009 +0000

    bug 597578 fixed substitution of string in stats when year is selected

 hamster/stats.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/hamster/stats.py b/hamster/stats.py
index bc8fb0e..53a5e04 100644
--- a/hamster/stats.py
+++ b/hamster/stats.py
@@ -659,7 +659,7 @@ A week of usage would be nice!"""))
             # date of first record when year has been selected
             # Using python datetime formatting syntax. See:
             # http://docs.python.org/library/time.html#time.strftime
-            first_date = facts[0]["start_time"].strftime(C_("first record", "%(b)s %(d)s"))
+            first_date = facts[0]["start_time"].strftime(C_("first record", "%b %d"))
 
         summary += _("First activity was recorded on %s.") % \
                                                      ("<b>%s</b>" % first_date)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]