Community
Participate
Working Groups
Create a library with this function library WriteResultLib private currentTime String = null; function getTimeStamp() returns (String) format String = "yyyyMMdd_HHmmss"; myTime TimeStamp; currentTime = strLib.formatTimestamp(myTime, format); return (currentTime); end end Generate and deploy WebContent >client>WriteResultLib.js has this invalid line of code eze$Temp2 = egl.egl.lang.ETimestamp.fromETimestamp(myTime"yyyyMMddHHmmssffffff"); If I insert a comma, the file will be valid eze$Temp2 = egl.egl.lang.ETimestamp.fromETimestamp(myTime,"yyyyMMddHHmmssffffff");
The attached code is part of the EUnit test framework. Fixes included: * fix the reported problem generating timestamp options * wired up timestamp, formatting support in the JS RT * renamed eglx.lang.StrLib to eglx.lang.StringLib
verfied with 201109191052
Closing this defect.