| Summary: | The pattern does not work for the timestamp | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | fahua jin <jinfahua> |
| Component: | EDT | Assignee: | Huang Ji Yong <hjiyong> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | hjiyong, jqian, mayunf, mzanjani, pfyu, svihovec, tmbarans |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
(In reply to comment #0) > Build Identifier: 0.7.0.v201111012101 > > Below two lines of code work fine with Java program, it prints such as 12:28:23 > in the console. But it does not work with JSGenerator. > > ts timeStamp("hhmmss"); > syslib.writeStdout(ts); > > Reproducible: Always Pengfei, not sure if it's possible to add some test cases for the pattern in EUnit? Thanks. I searched variations for timestamp, and found api.eglx_lang.EDateXXX, api.eglx_lang.ETimestampXXX contain test cases which have something to do with timestamp format. But Rocky focus on the syslib.writeStdout() function. Jing, could you please give some comments on this? (In reply to comment #2) > I searched variations for timestamp, and found api.eglx_lang.EDateXXX, > api.eglx_lang.ETimestampXXX contain test cases which have something to do with > timestamp format. But Rocky focus on the syslib.writeStdout() function. > Jing, could you please give some comments on this? If you already have the test cases for the timestamp format, I don't think it's necessary to add for the syslib.writeStdout. Thanks. like pengFei said, this should be covered under the api.eglx_lang EDatexxx and ETimestampxxx my understanding is Ji Yong has made the fix in javascript gen, these test cases should work in javascript now (maybe in a newer build 201111020901??) ADL was the one contributed the EDateXXX and ETimestampXXX tests. so add them to the subscribe list, maybe there are other existing defects on this already? Resolved indirectly Verified by Pengfei Verified in 0.7.0.v201111160901. |
Build Identifier: 0.7.0.v201111012101 Below two lines of code work fine with Java program, it prints such as 12:28:23 in the console. But it does not work with JSGenerator. ts timeStamp("hhmmss"); syslib.writeStdout(ts); Reproducible: Always