In work Item tab,In displayed table date column have by default english format,If you want to change in yyyy/MM/dd format.I have posted the code below----
<Field name='workItems[$(name)].createDate'>
<Display class='Label'>
<Property name='value'>
<invoke name='format'>
<new class='java.text.SimpleDateFormat'>
<s>yyyy/MM/dd</s>
</new>
<invoke name='getTime'>
<ref>workItems[$(name)].createDate</ref>
</invoke>
</invoke>
</Property>
</Display>
</Field>
<Display class='Label'>
<Property name='value'>
<invoke name='format'>
<new class='java.text.SimpleDateFormat'>
<s>yyyy/MM/dd</s>
</new>
<invoke name='getTime'>
<ref>workItems[$(name)].createDate</ref>
</invoke>
</invoke>
</Property>
</Display>
</Field>
No comments:
Post a Comment