Due date validation is not working between current date(System generated date) post noon(Saudi Time)
Dear Team,
We have implemented java scrip in RTC workitem for date validation. It satisfies the condition that due date should be greater than or equal to current date(System generated Date). We are observing the following limitations
1) (Due Date >= Current Date), this condition works fine till Mid noon(Saudi Time) but it doesn’t work post noon during creation of RTC workitem. We are not clear on what exactly is the reason behind this issue. Can anyone help me out on this regard?.
FYI: The below one is the created script for workitem date validation.
dojo.provide("DueDateValidation");
Thanks,
Rajiv
|
Accepted answer
After using the below time functionality, my script is working fine as expected
//Get current date without time information like YYYY/MM/dd var CurrentDate=dojo.date.locale.format(new Date(),{datePattern: "yyyy/MM/dd", selector: "date"}); Ralph Schoon 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.
Comments
How do u configure this to make it work in templates?