From df879450ea8866235dae7a3c7802ffdd9345756b Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 12 Jan 2025 15:36:51 +0800 Subject: [PATCH] bugfix --- ahserver/globalEnv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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