TFS 2013中为工作项DateTimeControl自定义日期格式。 [英] Custom date formatting in TFS 2013 for the Work Item DateTimeControl.
问题描述
我们有一个自定义的DateTime字段,我们希望将其设置为默认的未来日期。例如:如果我们将时钟设置为默认值,它将自动填充当前日期和时间,但我们可以将1小时的默认时间设置为
future吗?
MaritzTFSAdmin,
感谢您在此发帖。
默认控件可以'要实现这个功能。关于dateTime控件,您可以自定义它的格式:
https://msdn.microsoft.com /en-us/library/ms243845.aspx 。
您可以自定义日期时间控件并将其添加到工作项类型。以下是自定义控件的一些示例,您可以参考。
We have a custom DateTime field and we would like to set it up with a defaulted future date. For example: if we set the Clock as the default it will automatically populate with the current date and time, but can we set the default time for 1 hour into the future?
Hi MaritzTFSAdmin,
Thank you for posting here.
The default control can't be realize this feature. About the dateTime control, you can customize it format: https://msdn.microsoft.com/en-us/library/ms243845.aspx.
You could customize a datetime control and add it to work item type. Here is some examples of customize controls, you could have a reference at.
这篇关于TFS 2013中为工作项DateTimeControl自定义日期格式。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!