[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r10125 - trunk/gnue-reports/src/client
From: |
reinhard |
Subject: |
[gnue] r10125 - trunk/gnue-reports/src/client |
Date: |
Fri, 11 Dec 2009 11:58:26 -0600 (CST) |
Author: reinhard
Date: 2009-12-11 11:58:25 -0600 (Fri, 11 Dec 2009)
New Revision: 10125
Modified:
trunk/gnue-reports/src/client/GRRunUI.py
Log:
Use datetime module instead of mx.
Modified: trunk/gnue-reports/src/client/GRRunUI.py
===================================================================
--- trunk/gnue-reports/src/client/GRRunUI.py 2009-12-10 13:15:30 UTC (rev
10124)
+++ trunk/gnue-reports/src/client/GRRunUI.py 2009-12-11 17:58:25 UTC (rev
10125)
@@ -21,9 +21,9 @@
#
# $Id$
+import datetime
import string
import StringIO
-import mx
from gnue.common.apps import errors
from gnue.common.apps.i18n import utranslate as u_
@@ -296,7 +296,7 @@
masks = ['%x', '%X', '%x %X']
format = masks [['date', 'time', 'datetime'].index (pType)]
current ['format'] = format
- current ['dLength'] = len (mx.DateTime.now ().strftime (format))
+ current ['dLength'] = len (datetime.datetime.now().strftime(format))
current ['label'] = param.get ('description', name)
result.append (current)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r10125 - trunk/gnue-reports/src/client,
reinhard <=