From f100d04fcb792ce66320db240082585f2874df6b Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 18 Nov 2024 13:40:07 +0800 Subject: [PATCH] bugfix --- ahserver/globalEnv.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ahserver/globalEnv.py b/ahserver/globalEnv.py index 7e81afb..a20685c 100755 --- a/ahserver/globalEnv.py +++ b/ahserver/globalEnv.py @@ -18,7 +18,9 @@ from appPublic.jsonConfig import getConfig from appPublic.dictObject import DictObject from appPublic.Singleton import GlobalEnv from appPublic.argsConvert import ArgsConvert -from appPublic.timeUtils import str2Date,str2Datetime,curDatetime,getCurrentTimeStamp,curDateString, curTimeString +from appPublic.timeUtils import str2Date,str2Datetime,curDatetime, \ + getCurrentTimeStamp,curDateString, curTimeString, \ + monthfirstday, strdate_add from appPublic.dataencoder import quotedstr from appPublic.folderUtils import folderInfo from appPublic.uniqueID import setNode,getID @@ -173,7 +175,9 @@ def initEnv(): g.random = random g.str2date = str2Date g.str2datetime = str2Datetime + g.monthfirstday = monthfirstday g.curDatetime = curDatetime + g.strdate_add = strdate_add g.uObject = uObject g.uuid = getID g.runSQL = runSQL