diff options
Diffstat (limited to 'fxjs/cfxjse_formcalc_context.cpp')
-rw-r--r-- | fxjs/cfxjse_formcalc_context.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fxjs/cfxjse_formcalc_context.cpp b/fxjs/cfxjse_formcalc_context.cpp index 9973df69aa..d164c626b9 100644 --- a/fxjs/cfxjse_formcalc_context.cpp +++ b/fxjs/cfxjse_formcalc_context.cpp @@ -6,8 +6,6 @@ #include "fxjs/cfxjse_formcalc_context.h" -#include <time.h> - #include <algorithm> #include <string> #include <utility> @@ -2061,7 +2059,7 @@ void CFXJSE_FormCalcContext::Date(CFXJSE_Value* pThis, } time_t currentTime; - time(¤tTime); + FXSYS_time(¤tTime); struct tm* pTmStruct = gmtime(¤tTime); args.GetReturnValue()->SetInteger(DateString2Num( |