You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The output of formatting is not as expected for '[datetime]::FromFileTime(129263964139663005) | format-table; [datetime]::FromFileTime(129263964139663005) | format-wide; get-item . | format-table' #1765
Resolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Enginecore PowerShell engine, interpreter, and runtime
cd C:\MSPCTL\PowerShell\tests\Host\FormatandOutput
.\InvokeTest.ps1 -test RegressionTestBug58612 -pri P1
Distilled repro
In #131, there is no extra whitespace in the table for the file, as you would see if you had used Format-Table -Auto
In #132, the whitespace has used the specified in FileSystem.format.ps1xml.
#131 PS> get-date | ft; get-item $pshome\powershell.exe
DisplayHint Date Day DayOfWeek DayOfYear Hour Kind Millisecond Minute Month
----------- ---- --- --------- --------- ---- ---- ----------- ------ -----
DateTime 9/14/2015 12:00:00 AM 14 Monday 257 17 Local 606 26 9
Directory: C:\Windows\System32\WindowsPowerShell\v1.0
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---l 9/12/2015 9:46 AM 475648 powershell.exe
#132 PS> get-date | ft | out-host; get-item $pshome\powershell.exe
DisplayHint Date Day DayOfWeek DayOfYear Hour Kind Millisecond Minute Month
----------- ---- --- --------- --------- ---- ---- ----------- ------ -----
DateTime 9/14/2015 12:00:00 AM 14 Monday 257 17 Local 608 26 9
Directory: C:\Windows\System32\WindowsPowerShell\v1.0
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---l 9/12/2015 9:46 AM 475648 powershell.exe
Resolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Enginecore PowerShell engine, interpreter, and runtime
Activity