You can look at the Issue work items definition for the Due Date for example:
<Control FieldName="Microsoft.VSTS.Scheduling.DueDate" Type="DateTimeControl" Label="D&ue Date:" LabelPosition="Left" Format="Short" />
Please remember to mark the replies as answers if they help. --- Success, Damir
- Proposed as answer by Jesse Houwing Tuesday, March 27, 2012 11:53 AM
Thank you for your post.
I suppose you just want a field just display date not include time. Please choose DateTimeControl for this field, not FieldControl.
When you edit the WIT, in Field Definition, please select Date Time type. Then, the most inport thing is in Layout tab, please select DateTimeComtrol, do not set FieldControl. You will just see the date not include time.
Lily Wu [MSFT]
MSDN Community Support | Feedback to us