| Summary: | JS strLib.formatTimestamp generates without comma separating parameters | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | greer |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
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. |
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");