dojo script do not work in date field
I am using RTC 6.0.2
i am writing a script to update one date filed from other date fields, and its not working, But when i use the same script to populate it in a string attribute it works
below is my code
var BetaReleaseDate = ''; var ReplannedReleaseDate = ''; var CurrentBetaReleaseDate = ''; please help |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Aug 12 '16, 2:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
See https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript
you have to convert it back to an iso string using dojo.date.stamp.toISOString before you return it. Pankaj Sharma selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.