[datetime] type accelerator only uses en-US culture
The [datetime] when used as a type accelerator only uses the en-US culture and therefore other date formats either error out or they are interpreted incorrectly, This makes using the ConvrtFrom-String difficult when adding type accelerators to automatically discover the property type from text. If we use the Get-Date command then the correct culture is used. It appears to be just the [datetime] type accelerator that is not consistent with this? Please fix!!
Alex Karpus commented
Yes. Persists into version 5:
LCID Name DisplayName
---- ---- -----------
2057 en-GB English (United Kingdom)
[PS] H:\>[datetime]"$((get-date -Year 2017 -Month 11 -Day 2).ToString())" -eq (get-date -Year 2017 -Month 11 -Day 2)