8000 Update width of datetime formatting to accommodate change in Japan datetime era by SteveL-MSFT · Pull Request #9503 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ private static IEnumerable<FormatViewDefinition> ViewsOf_Microsoft_PowerShell_Co
{
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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ private static IEnumerable<FormatViewDefinition> ViewsOf_System_Management_Manag
.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")
Expand All @@ -1028,7 +1028,7 @@ private static IEnumerable<FormatViewDefinition> ViewsOf_Microsoft_Management_In
.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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ private static IEnumerable<FormatViewDefinition> ViewsOf_System_Diagnostics_Even
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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private static IEnumerable<FormatViewDefinition> ViewsOf_FileSystemTypes(CustomC
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)
Expand All @@ -61,7 +61,7 @@ private static IEnumerable<FormatViewDefinition> ViewsOf_FileSystemTypes(CustomC
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)
Expand Down
0