Get-Date -UFormat %x does not match reference implementation #20979
Labels
Needs-Triage
The issue is new and needs to be triaged by a work group.
WG-Cmdlets-Utility
cmdlets in the Microsoft.PowerShell.Utility module
Prerequisites
Steps to reproduce
Get-Date -UFormat %x
Currently,
"{0:MM/dd/yy}"
is being used, but"{0:MM\/dd\/yy}"
is a better match (though"{0:d}"
is a reasonable match for the definition). See Date conversion specifiers or strftime.Expected behavior
Actual behavior
Error details
No response
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: