diff --git a/ahserver/globalEnv.py b/ahserver/globalEnv.py index 061b12f..035101f 100644 --- a/ahserver/globalEnv.py +++ b/ahserver/globalEnv.py @@ -21,7 +21,7 @@ from appPublic.Singleton import GlobalEnv from appPublic.argsConvert import ArgsConvert from appPublic.timeUtils import str2Date,str2Datetime,curDatetime, \ getCurrentTimeStamp,curDateString, curTimeString, \ - monthfirstday, strdate_add + monthfirstday, strdate_add, timestampstr from appPublic.dataencoder import quotedstr from appPublic.folderUtils import folderInfo from appPublic.uniqueID import setNode,getID @@ -208,6 +208,7 @@ def initEnv(): g.random = random g.str2date = str2Date g.str2datetime = str2Datetime + g.timestampstr = timestampstr g.monthfirstday = monthfirstday g.curDatetime = curDatetime g.strdate_add = strdate_add