aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/msec/tools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/msec/tools.py b/src/msec/tools.py
index 044a299..c9be55d 100755
--- a/src/msec/tools.py
+++ b/src/msec/tools.py
@@ -44,6 +44,7 @@ def get_updates_status(log, updatedir="/var/lib/urpmi"):
try:
ret = os.stat(updatedir)
updated = time.localtime(ret[stat.ST_MTIME])
+ updated_s = time.strftime(locale.nl_langinfo(locale.D_T_FMT), updated)
status = _("Last updated: %s") % updated_s
except:
log.error(_("Unable to access %s: %s") % (updatedir, sys.exc_info()[1]))