Update width of datetime to accommodate change in Japan datetime format with new era starting 5/1/19 (#9503)
This commit is contained in:
parent
a702f68974
commit
eedb37f4d6
|
@ -22,7 +22,7 @@ namespace System.Management.Automation.Runspaces
|
|||
{
|
||||
yield return new FormatViewDefinition("Counter",
|
||||
TableControl.Create()
|
||||
.AddHeader(Alignment.Left, label: "Timestamp", width: 25)
|
||||
.AddHeader(Alignment.Left, label: "Timestamp", width: 26)
|
||||
.AddHeader(Alignment.Left, label: "CounterSamples", width: 100)
|
||||
.StartRowDefinition(wrap: true)
|
||||
.AddPropertyColumn("Timestamp")
|
||||
|
|
|
@ -1009,7 +1009,7 @@ namespace System.Management.Automation.Runspaces
|
|||
.AddHeader(label: "Description", width: 16)
|
||||
.AddHeader(label: "HotFixID", width: 13)
|
||||
.AddHeader(label: "InstalledBy", width: 20)
|
||||
.AddHeader(label: "InstalledOn", width: 25)
|
||||
.AddHeader(label: "InstalledOn", width: 26)
|
||||
.StartRowDefinition()
|
||||
.AddPropertyColumn("__SERVER")
|
||||
.AddPropertyColumn("Description")
|
||||
|
@ -1028,7 +1028,7 @@ namespace System.Management.Automation.Runspaces
|
|||
.AddHeader(label: "Description", width: 16)
|
||||
.AddHeader(label: "HotFixID", width: 13)
|
||||
.AddHeader(label: "InstalledBy", width: 20)
|
||||
.AddHeader(label: "InstalledOn", width: 25)
|
||||
.AddHeader(label: "InstalledOn", width: 26)
|
||||
.StartRowDefinition()
|
||||
.AddPropertyColumn("ComputerName")
|
||||
.AddPropertyColumn("Description")
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace System.Management.Automation.Runspaces
|
|||
yield return new FormatViewDefinition("Default",
|
||||
TableControl.Create()
|
||||
.GroupByProperty("ProviderName", label: "ProviderName")
|
||||
.AddHeader(width: 25)
|
||||
.AddHeader(width: 26)
|
||||
.AddHeader(Alignment.Right, width: 8)
|
||||
.AddHeader(width: 16)
|
||||
.AddHeader()
|
||||
|
|
|
@ -46,7 +46,7 @@ namespace System.Management.Automation.Runspaces
|
|||
TableControl.Create()
|
||||
.GroupByProperty("PSParentPath", customControl: sharedControls[0])
|
||||
.AddHeader(Alignment.Left, label: "Mode", width: 7)
|
||||
.AddHeader(Alignment.Right, label: "LastWriteTime", width: 25)
|
||||
.AddHeader(Alignment.Right, label: "LastWriteTime", width: 26)
|
||||
.AddHeader(Alignment.Right, label: "Length", width: 14)
|
||||
.AddHeader(Alignment.Left, label: "Name")
|
||||
.StartRowDefinition(wrap: true)
|
||||
|
@ -61,7 +61,7 @@ namespace System.Management.Automation.Runspaces
|
|||
TableControl.Create()
|
||||
.GroupByProperty("PSParentPath", customControl: sharedControls[0])
|
||||
.AddHeader(Alignment.Left, label: "Mode", width: 7)
|
||||
.AddHeader(Alignment.Right, label: "LastWriteTime", width: 25)
|
||||
.AddHeader(Alignment.Right, label: "LastWriteTime", width: 26)
|
||||
.AddHeader(Alignment.Right, label: "Length", width: 14)
|
||||
.AddHeader(Alignment.Left, label: "Name")
|
||||
.StartRowDefinition(wrap: true)
|
||||
|
|
Loading…
Reference in a new issue