【问题标题】:suppress timestamp from tfs抑制来自 tfs 的时间戳
【发布时间】:2019-05-18 17:55:20
【问题描述】:

我不希望时间戳出现在 TFS Web 门户上的工作项模板上的日期时间字段中。你能建议我怎么做吗? 附上带有日期时间字段的工作项模板的图像以供参考

【问题讨论】:

    标签: tfs tfs-workitem


    【解决方案1】:

    来自https://docs.microsoft.com/en-us/azure/devops/reference/xml/specify-work-item-form-controls?view=tfs-2015#add-date-or-calendar-fields

    您需要将格式更改为“短”,例如: xml <Control Type="DateTimeControl" FieldName="MyCompany.EnvironmentCR.PreferredStart"
    Label="Preferred Start Date:" LabelPosition="Left" Format="Short" />

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-07
      • 2018-04-17
      • 2011-07-12
      • 2019-07-14
      • 2021-06-02
      • 1970-01-01
      • 2017-06-15
      • 2012-03-27
      相关资源
      最近更新 更多