| Summary: | Unable to use timestamp functions yearOf, monthOf etc in Javascript | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Tom B <tmbarans> | ||||
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P1 | CC: | hjiyong | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 206782 [details]
Fix for time stamp APIs
Add the APIs to edt_runtime closing the defect |
Build Identifier: Eclipse 20110916-0149 EGL Development Tools (EDT) 0.7.0.v201111092101 Whenever a call is made to the timestamp functions yearOf, dayOf, monthOf, timeOf, dateOf, and weekdayOf, there is an exception with the message 'object doesn't support this property or method' The same error also occurs when assigning a timestamp to a date e.g. myDate = myTimestamp, even when the timestamp represents a valid date This error does not occur for Java generation Reproducible: Always Steps to Reproduce: generate the following EGL to EDT Javascipt const constTimeStampDateTime timeStamp("yyyyMMddHHmmss") = "20111231105530"; constTimeStampDateTime.dayOf() When you run it, you will get an exception with the message 'object doesn't support this property or method' see ETimestamp002-006.egl