Get-Date -UFormat %q does not match reference implementation #20976
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 %q
This is not currently implemented, but could be added as
(dateTime.Month-1)/3+1
or1+int.DivRem(dateTime.Month-1, 3).Quotient
. 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: